diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 35e400e..4d0d0c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,14 +42,14 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.2.1" + rev: "v0.3.4" hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.8.0" + rev: "v1.9.0" hooks: - id: mypy files: src|tests @@ -63,7 +63,7 @@ repos: - id: codespell - repo: https://github.com/shellcheck-py/shellcheck-py - rev: "v0.9.0.6" + rev: "v0.10.0.1" hooks: - id: shellcheck @@ -81,7 +81,7 @@ repos: - id: validate-pyproject - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.0 + rev: 0.28.1 hooks: - id: check-dependabot - id: check-github-workflows diff --git a/tests/test_pyg4.py b/tests/test_pyg4.py index d7be3dc..d05ccaa 100644 --- a/tests/test_pyg4.py +++ b/tests/test_pyg4.py @@ -1,4 +1,5 @@ """Test the attaching of all properties to Geant4 materials.""" + from __future__ import annotations import pint