aboutsummaryrefslogtreecommitdiffstats
path: root/.flake8
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-09-18 15:46:36 -0700
committerGravatar sco1 <[email protected]>2019-09-18 15:46:36 -0700
commit609d6c0a48170e8eeefca2c6f0fd55c014c7ad65 (patch)
treecf46bf8da7478207f008c0af31005e39f0a691e3 /.flake8
parentUpdate dependencies & relock (diff)
Update linting rules & partially relint
Diffstat (limited to '.flake8')
-rw-r--r--.flake816
1 files changed, 8 insertions, 8 deletions
diff --git a/.flake8 b/.flake8
index 605bc46e..0f1a77e2 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, **/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/**:D101,D102,D103,D105,D106,S106,TYP