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.