Skip to content

Replaced non-custom flake8 lints with ruff-check#23330

Open
sureshjoshi wants to merge 6 commits into
pantsbuild:mainfrom
sureshjoshi:more-ruff-check
Open

Replaced non-custom flake8 lints with ruff-check#23330
sureshjoshi wants to merge 6 commits into
pantsbuild:mainfrom
sureshjoshi:more-ruff-check

Conversation

@sureshjoshi
Copy link
Copy Markdown
Member

Context in this PR (#21037). I mostly took Huon's PR and added to it, as we already had ruff-check in place.

Every run consisted of pants --no-pantsd lint --only=ruff-check --only=flake8 ::

I also added RUF as I think those lints are worth having, but I wanted to keep this PR to zero Python code changes.

Most of this PR is honestly me inlining docs from https://docs.astral.sh/ruff/rules/

@sureshjoshi sureshjoshi added category:internal CI, fixes for not-yet-released features, etc. release-notes:not-required [CI] PR doesn't require mention in release notes labels May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:internal CI, fixes for not-yet-released features, etc. release-notes:not-required [CI] PR doesn't require mention in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant