From aa845ce87d39847257b11a2bca4f84d975b2e8bb Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 23 Nov 2021 00:36:44 +0100 Subject: [PATCH] add descriptions for all ignored errors --- setup.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 59de074ae0..816a833274 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,14 +1,18 @@ [flake8] ignore = + # - W605 - invalid escape sequence W605, # - E501 - line too long (82 characters) - E501, E722, + E501, + # - E722 - do not use bare except + E722, # - C901 - function is too complex C901, # - N802 - function name should be lowercase (In the future, we should conform to this!) N802, # - N806 - variable should be lowercase N806, + # - N812 - lowercase imported as non-lowercase N812, exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,*ci_*.py* max-complexity = 20