From 518970db3bf040be993e24fca8f6d428ced17c1e Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Sun, 21 Apr 2019 16:21:35 +0100 Subject: Flake8-docstrings and config as discussed in #192 and on Discord --- .flake8 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to '.flake8') 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 -- cgit v1.2.3