Source: flake8-cognitive-complexity Maintainer: Debian Python Team Uploaders: Edward Betts , Section: python Priority: optional Build-Depends: debhelper-compat (= 13), dh-sequence-python3, python3-all, python3-setuptools, Build-Depends-Indep: python3-cognitive-complexity , python3-pytest , Rules-Requires-Root: no Standards-Version: 4.7.0 Homepage: https://github.com/Melevir/flake8-cognitive-complexity Vcs-Browser: https://salsa.debian.org/python-team/packages/flake8-cognitive-complexity Vcs-Git: https://salsa.debian.org/python-team/packages/flake8-cognitive-complexity.git Package: python3-flake8-cognitive-complexity Architecture: all Depends: ${misc:Depends}, python3:any, Description: Extension for flake8 that validates cognitive function complexity This library evaluates the cognitive complexity of Python code, analysing how difficult a piece of code is to understand. Cognitive complexity is akin to cyclomatic complexity but focuses on human comprehension rather than code structure. It was introduced by G. Ann Campbell and is used by tools like SonarSource and CodeClimate. This feature helps maintain code readability and understandability, allowing easier maintenance and collaboration.