diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a2f691c..657c186 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,13 +2,13 @@ exclude: ^(examples) repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.291 + rev: v0.0.292 hooks: - id: ruff args: [--fix, --line-length, "100", --ignore=F841] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-yaml - id: end-of-file-fixer @@ -25,7 +25,7 @@ repos: - id: black - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell stages: [ commit, commit-msg ] diff --git a/agility/analysis.py b/agility/analysis.py index f4dfb14..0931903 100755 --- a/agility/analysis.py +++ b/agility/analysis.py @@ -1085,7 +1085,7 @@ def convert_backend(self, convert_to: available_backends) -> Self: self.save_structure("filename", file_type="data") if convert_to == "ovito": try: - return GBStructure(backend=convert_to, filename=filename) # type: ignore[return-value] # noqa: E501 + return GBStructure(backend=convert_to, filename=filename) # type: ignore[return-value] finally: tempfile = pathlib.Path(filename) tempfile.unlink()