Skip to content

Conversation

@VeckoTheGecko
Copy link
Contributor

@VeckoTheGecko VeckoTheGecko commented Aug 9, 2024

Enables Bugbear error codes in Ruff linting.

A plugin for finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.

Leaving the codes B011, B016, B904 as I want to incorporate them into a larger PR at a later date looking at reworking the parcels error system (i.e., so we aren't raising Runtime and Assertion errors). Discussed in #1620

Also added in some other rules I thought would be good. Notably RUF100 which removes unused # noqa flags.

Contributes to #1620

@VeckoTheGecko VeckoTheGecko changed the title Enable Bugbear in Ruff linting Enable Bugbear and other rules in Ruff linting Aug 12, 2024
@VeckoTheGecko VeckoTheGecko merged commit 2a876f8 into master Aug 13, 2024
@VeckoTheGecko VeckoTheGecko deleted the v/bugbear branch August 13, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants