From 37fdb2a700e47cc84f0dd3b004b33c41b1eb4abe Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sun, 26 May 2024 10:48:44 +0200 Subject: + flake8's cognitive complexity --- .flake8 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.flake8 b/.flake8 index c35b8d3..e6ad5fa 100644 --- a/.flake8 +++ b/.flake8 @@ -13,6 +13,8 @@ doctests = True # format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}:\\t${red_bold}%(code)s${reset} %(text)s # Superseding flake8-colors: format = %(cyan)s%(path)s%(reset)s:%(yellow)s%(bold)s%(row)d%(reset)s:%(green)s%(bold)s%(col)d%(reset)s: %(red)s%(bold)s%(code)s%(reset)s %(text)s +# python8-flake8-cognitive-complexity +max-cognitive-complexity = 16 #per-file-ignores = # # imported but unused # __init__.py: F401 -- cgit v1.2.3