aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-23 16:16:56 +0200
committerGravatar GitHub <[email protected]>2020-11-23 16:16:56 +0200
commit63b9d4239dcf6fbd81a615c01beaec3e085ad8e2 (patch)
treeae5e156878684972cc082f3475c168e5f63f5f16
parentRun flake8 matchers removal step always (diff)
Improve flake8 configuration
Use PyCharm import order, copy flake8 rules ignore list from other PyDis projects.
-rw-r--r--tox.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 885ae67..b48e67b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,3 +1,17 @@
[flake8]
max-line-length=88
exclude=.cache,.venv,.git
+docstring-convention=all
+import-order-style=pycharm
+ignore=
+ B311,W503,E226,S311,T000
+ # Missing Docstrings
+ D100,D104,D105,D107,
+ # Docstring Whitespace
+ D203,D212,D214,D215,
+ # Docstring Quotes
+ D301,D302,
+ # Docstring Content
+ D400,D401,D402,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D416,D417
+ # Type Annotations
+ ANN002,ANN003,ANN101,ANN102,ANN204,ANN206