这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@tmager
Copy link
Contributor

@tmager tmager commented Nov 10, 2025

Switches out pylint and pydocstyle for ruff check, fixing any lints that are
automatically fixable, temporarily disabling all others, and removing all
existing lint control comments from those two linters. In the interest of
keeping the diff here even slightly manageable, I'm going to go through the
disabled lints one-by-one in separate MRs and either fix/re-enable them or leave
a note about why they're being left permanently disabled.

I've enabled some lint rulesets that don't correspond to the linters we were
using previously, as Ruff doesn't have duplicate codes for rules that were
applied by multiple linters, and as a result some rules that we relied on Pylint
for are categorized elsewhere (mainly pyflakes).

#109

Replaces pylint and pydocstyle linters with `ruff check`, and configures Ruff's
lint rules. All lints that are not able to be auto-fixed or trivially fixable by
hand are temporarily disabled to keep the diff smaller.
@tmager tmager self-assigned this Nov 10, 2025
@tmager tmager requested a review from Maegereg November 10, 2025 02:35
Copy link
Contributor

@TedTed TedTed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yessssssss

@tmager tmager added this pull request to the merge queue Nov 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 11, 2025
@tmager tmager added this pull request to the merge queue Nov 15, 2025
Merged via the queue into main with commit 589df24 Nov 15, 2025
3 checks passed
@tmager tmager deleted the tmager/ruff-check branch November 15, 2025 01:25
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.

3 participants