Replace pylint, pydocstyle with ruff check #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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