Skip to content

Conversation

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.12 → v0.13.0](astral-sh/ruff-pre-commit@v0.12.12...v0.13.0)
- [github.com/woodruffw/zizmor-pre-commit: v1.12.1 → v1.13.0](zizmorcore/zizmor-pre-commit@v1.12.1...v1.13.0)
- [github.com/pre-commit/mirrors-mypy: v1.17.1 → v1.18.1](pre-commit/mirrors-mypy@v1.17.1...v1.18.1)
@bluetech
Copy link
Member

Looks like the new ruff errors are like this one:

RUF059 Unpacked variable `a` is never used
   --> doc/en/example/assertion/failure_demo.py:182:9
    |
180 |         items = [1, 2, 3]
181 |         print(f"items is {items!r}")
182 |         a, b = items.pop()
    |         ^
183 |
184 |     def test_some_error(self):
    |
help: Prefix it with an underscore or any other dummy variable pattern

I find this a bit annoying, wouldn't feel bad about disabling this one, though it might potentially catch a real problem.

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.

1 participant