From a3e983f78dc4cbcf6f75f78fa2b3c57e09cd1b2b Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 5 Feb 2021 01:38:33 +0100 Subject: Added a few flake8 plugin --- setup.cfg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index b6f3073..d9fec95 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,6 +26,8 @@ python_requires = >=3.6 [flake8] ignore = E501,E221,W503,E241 +select = E,F,W,C4,N,ECE,CCR +max-cognitive-complexity = 6 [mypy] check_untyped_defs = true -- cgit