Skip to content

Missing checks for cyclometric complexity and code style warnings #110

Closed

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.

Activity

  1. added 2 commits that reference this issue on Mar 2, 2024
    d1c5444
    b434f69
  2. added a commit that references this issue on Mar 12, 2024
    8647405
  3. added a commit that references this issue on Mar 19, 2024
    d665b18
  4. added 7 commits that reference this issue on Mar 27, 2024
    8dedb69
    47fe109
    2cfd159
    bcafc8f
    18faf28
    d8cfa2e
    f880685
  5. added a commit that references this issue on Apr 22, 2024
    71e1db6
  6. added 2 commits that reference this issue on Jun 18, 2024
    4b2d8c6
    8f59b0f
  7. added 2 commits that reference this issue on Jul 11, 2026
    e6b1898
    1ab1c02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions