-
-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pre-commit.ci] pre-commit autoupdate #3214
Conversation
updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0)
for more information, see https://pre-commit.ci
Umm....this commit fails the
|
…oken The top-level linter setting names in pyproject.toml have changed, and while this _could_ accept the old names until they're fixed, it choses not to and fails the build. Fixing that is easy, but results in yet more failures that were not previously appearing in unchanged code. - Revert "[pre-commit.ci] pre-commit autoupdate (tox-dev#3214)" - This reverts commit 3347933.
The four complaints we get if we fix the
I have to say that (unusually for me) I agree with the robot on all of these: they are rather hard to follow due to the nesting. The first one can be relatively trivially fixed to keep the robot quiet (and it becomes slightly easier to read), but the rest are code that seems deeply convoluted enough that there's no obvious fix (at least to me) that makes it better. |
tool.ruff.{select,isort,ignore,per-file-ignores} will soon be deprecated in favour of putting these under tool.ruff.lint. (See reverted PR tox-dev#3214 for the complaint that appears in a more recent version of ruff.) Change these now to avoid complaints later.
updates: