aboutsummaryrefslogtreecommitdiffstats
path: root/.flake8
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-09-24 17:32:03 -0400
committerGravatar GitHub <[email protected]>2019-09-24 17:32:03 -0400
commit37d989d0b74a1d0f8b0ee60749c79ea4a55ffba5 (patch)
treef1541776183c3d3850693ad20d81fb530bed3a1d /.flake8
parentSwap out old discord shield for new one. (diff)
parentMerge branch 'master' into update-linting (diff)
Merge pull request #251 from python-discord/update-linting
Update linting dependencies & relint
Diffstat (limited to '.flake8')
-rw-r--r--.flake816
1 files changed, 8 insertions, 8 deletions
diff --git a/.flake8 b/.flake8
index 605bc46e..e36c2eb1 100644
--- a/.flake8
+++ b/.flake8
@@ -1,7 +1,11 @@
[flake8]
+max-line-length=100
docstring-convention=all
+import-order-style=pycharm
+application_import_names=pydis_site
+exclude=__pycache__, venv, .venv, manage.py, **/migrations
ignore=
- P102,B311,W503,E226,S311,
+ B311,W503,E226,S311,T000
# Missing Docstrings
D100,D104,D105,D107,
# Docstring Whitespace
@@ -10,11 +14,7 @@ ignore=
D301,D302,
# Docstring Content
D400,D401,D402,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D416,D417
-
+ # Type Annotations
+ TYP002,TYP003,TYP101,TYP102,TYP204,TYP206
per-file-ignores =
- **/tests/**:D101,D102,D103,D105,D106,S106
-
-application_import_names=pydis_site
-exclude=__pycache__, venv, .venv, **/migrations
-import-order-style=pycharm
-max-line-length=100
+ **/tests/**:D1,S106,TYP