这是indexloc提供的服务,不要输入任何密码
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.
@tmager tmager added this pull request to the merge queue Nov 14, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 14, 2025
@tmager tmager added this pull request to the merge queue Nov 14, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 14, 2025
@Maegereg
Copy link
Contributor

Looks like the apache hive wiki is moving - I don't know if that's what's causing the latest round of errors, but maybe worth trying updating the links to the new location? I can't suggest them since you haven't edited the spark topic guide, but the new links are https://hive.apache.org/docs/latest/admin/adminmanual-metastore-3-0-administration/ and https://hive.apache.org/docs/latest/user/hiveserver2-clients/#beeline-hive-commands

@tmager tmager added this pull request to the merge queue Nov 14, 2025
Merged via the queue into main with commit 737cbea Nov 14, 2025
3 checks passed
@tmager tmager deleted the tmager/ruff-check branch November 14, 2025 23:16
tmager added a commit to opendp/tumult-analytics that referenced this pull request Nov 14, 2025
github-merge-queue bot pushed a commit to opendp/tumult-analytics that referenced this pull request Nov 15, 2025
* Replace pylint, pydocstyle with ruff check

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.

* Disable RUF010 and revert changes it introduced

* Remove unneeded whitespace where pylint control comments were removed

* Update pyspark intersphinx location to match Core

* Fix doctests, pull in changes from opendp/tumult-core#47
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