Skip to content

Commit 06dc96b

Browse files
chore: update pre-commit hooks (#518)
* chore: update pre-commit hooks 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/pre-commit/mirrors-mypy: v1.17.1 → v1.18.1](pre-commit/mirrors-mypy@v1.17.1...v1.18.1) * Fix temp variable name to please Ruff --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eduardo Rodrigues <[email protected]>
1 parent 4c2fb3a commit 06dc96b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ repos:
1919
- id: end-of-file-fixer
2020

2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: "v0.12.12"
22+
rev: "v0.13.0"
2323
hooks:
2424
- id: ruff
2525
args: ["--fix", "--show-fixes"]
2626
- id: ruff-format
2727

2828
- repo: https://github.com/pre-commit/mirrors-mypy
29-
rev: v1.17.1
29+
rev: v1.18.1
3030
hooks:
3131
- id: mypy
3232
files: '^src/decaylanguage/(decay|dec|utils)/'

tests/test_goofit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ def test_simple():
2929
assert Particle.from_pdgid(-211) == all_states[4] # pi-
3030

3131
assert len(lines) == 1
32-
(line,) = lines
32+
(_line,) = lines

0 commit comments

Comments
 (0)