aboutsummaryrefslogtreecommitdiffstats
path: root/.flake8
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-21 16:21:35 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-21 16:21:35 +0100
commit518970db3bf040be993e24fca8f6d428ced17c1e (patch)
tree58e1caf3d1a7c3b7d82af75b86d5d72c78d9f871 /.flake8
parentMerge pull request #202 from gdude2002/django+200/wiki (diff)
Flake8-docstrings and config as discussed in #192 and on Discord
Diffstat (limited to '.flake8')
-rw-r--r--.flake817
1 files changed, 15 insertions, 2 deletions
diff --git a/.flake8 b/.flake8
index a86910e6..e2face09 100644
--- a/.flake8
+++ b/.flake8
@@ -1,6 +1,19 @@
[flake8]
-max-line-length=100
-ignore=S106
+ignore=
+ P102,B311,W503,E226,S311,
+ # Missing Docstrings
+ D100,D104,D107,
+ # Docstring Whitespace
+ D202,D203,D204,D212,D214,D215,
+ # Docstring Quotes
+ D301,D302,
+ # Docstring Content
+ D400,D401,D402,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414
+
+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