Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Fix Ruff configuration unintentionally enabling and re-disabling mccabe complexity check #10893

Merged
merged 2 commits into from Jan 12, 2024

Conversation

jiridanek
Copy link
Contributor

Enabling "C" turns on complexity checks (C90, mccabe), which is unintended. Instead, enable "C4" to get flake8-comprehensions checks

See docs at https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4

…plexity check

Enabling "C" turns on complexity checks (C90, mccabe), which is unintended
Instead, enable "C4" to get flake8-comprehensions checks

See docs at https://docs.astral.sh/ruff/rules/#flake8-comprehensions-c4
@tiangolo tiangolo changed the title Fix mistake in Ruff configuration unintentionally enabling mccabe complexity check 🔧 Fix Ruff configuration unintentionally enabling and re-disabling mccabe complexity check Jan 12, 2024
@tiangolo
Copy link
Owner

Nice, thanks @jiridanek! 🚀

@tiangolo tiangolo enabled auto-merge (squash) January 12, 2024 14:57
@tiangolo tiangolo merged commit 25646a5 into tiangolo:master Jan 12, 2024
19 checks passed
@jiridanek jiridanek deleted the patch-1 branch January 12, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants