Skip to content

Conversation

@tmager
Copy link
Contributor

@tmager tmager commented Nov 8, 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 additional lint rule sets 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). The set of enabled rules will continue to evolve over time as we notice things that should be getting caught but aren't.

opendp/tumult-analytics#109

@tmager tmager self-assigned this Nov 8, 2025
@tmager tmager force-pushed the tmager/ruff-check branch 2 times, most recently from 2783c14 to 0a54bc4 Compare November 8, 2025 18:47
@tmager tmager requested a review from Maegereg November 8, 2025 19:03
@tmager tmager force-pushed the tmager/ruff-check branch 2 times, most recently from 4d0deb7 to e62e576 Compare November 10, 2025 00:40
@tmager tmager force-pushed the tmager/ruff-check branch 2 times, most recently from d1cfa0e to ea0bb60 Compare November 11, 2025 01:18
@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
Replaces links to projects.iq.harvard.edu with Wayback Machine links,
as that site has shut down. Also updates intersphinx to point to a
(hopefully more stable) location for the Spark docs, and fixes a
missing import in some doctests.
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