Skip to content

Missing checks for cyclometric complexity and code style warnings #110

@jaraco

Description

@jaraco

In the migration from flake8 to ruff, we lost some checks. From the docs:

# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.

Since many of the projects have worked to remove or acknowledge this complexity and address these warnings, it's probably best to enable these defaults, even though ruff doesn't see them as best practice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions