chore: migrate from flake8/black/isort/pyupgrade to ruff - #723
Merged
Conversation
Replaces ~10 dev dependencies (flake8 + plugins, black, blacken-docs, isort, pyupgrade, darglint, pep8-naming) with ruff for linting and formatting. Updates CI and pre-commit hooks accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces ~10 dev dependencies with a single
ruffinstallation for both linting and formatting.Removed:
flake8+flake8-black,flake8-comprehensions,flake8-docstrings,flake8-isort,flake8-pytest-style,flake8-simplifyblack,blacken-docsisortpyupgradedarglint(abandoned upstream)pep8-namingAdded:
ruff(covers all of the above)Ignored rules (intentional):
E501— ruff format is the source of truth for line length; remaining violations are unfixable literal strings/dataN818— renamingCensysException*to*Errorwould be a breaking API changePT028— false positive on test utility helpers that aren't actual fixturesE402(examples only) — sys.path manipulation before imports is intentional in example scriptsTest plan
🤖 Generated with Claude Code