diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 39db30c4..c398c059 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: - id: black-jupyter - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.0.285" + rev: "v0.0.286" hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/admin/dump_pdgid_to_corsika7.py b/admin/dump_pdgid_to_corsika7.py index b336011e..62da670b 100755 --- a/admin/dump_pdgid_to_corsika7.py +++ b/admin/dump_pdgid_to_corsika7.py @@ -157,7 +157,7 @@ def dump_pdgid_to_corsika7(file: pathlib.Path | None = None) -> None: """ # Loop over all thinkable values and only add them if the PDG ID exists for a in range(2, 56 + 1): - for z in range(0, a + 1): + for z in range(a + 1): corsikaid = a * 100 + z with contextlib.suppress(ParticleNotFound): corsica_pdg_id.append(