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

Conversation

@tmager
Copy link
Contributor

@tmager tmager commented Nov 1, 2025

Adds support for using Ruff as a formatter/linter, replacing black, isort, pylint, and pydocstyle. This change converts this repository to use it, but does not yet remove support for our old linters so that Analytics and Core can be switched over as is convenient.

Ruff has a ton of rules that can be enabled and disabled; I set it up to use the rules corresponding to pylint and pydocstyle, as well as some of its own rules, but this configuration will likely need to be adjusted as we move Analytics and Core over -- I didn't go through and disable all of the rules we were previously ignoring, on the theory that this is a good opportunity to re-evaluate our existing configuration, but many of those rules were ignored for a good reason.

opendp/tumult-analytics#109

@tmager tmager self-assigned this Nov 1, 2025
@tmager tmager marked this pull request as ready for review November 3, 2025 22:45
@tmager tmager requested a review from Maegereg November 3, 2025 22:46
@tmager tmager merged commit 0850496 into main Nov 4, 2025
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