Skip to content

Enable Ruff B ruleset for flake-bugbear #1427

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

Merged
merged 4 commits into from
May 25, 2025
Merged

Enable Ruff B ruleset for flake-bugbear #1427

merged 4 commits into from
May 25, 2025

Conversation

tleonhardt
Copy link
Member

@tleonhardt tleonhardt commented May 25, 2025

Enable Ruff B ruleset for flake-bugbear.

Disabled B905 rule for explicitly setting strict= keyword arg for zip() function globally because it requires Python 3.10+.

Disabled B010 rule for not calling setattr with constant attribute value in cmd2/argparse_custom.py file due to type checking going nuts if we tried to apply it.

Disabled B010 rule for not calling setattr with constant attribute value in cmd2/argparse_custom.py file due to type checking going nuts if we tried to apply it.
@tleonhardt tleonhardt merged commit bd9038b into master May 25, 2025
47 checks passed
@tleonhardt tleonhardt deleted the ruff-bugbear branch May 25, 2025 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant