Skip to content

Commit

Permalink
Merge pull request #13 from ab5424/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
ab5424 authored Oct 11, 2023
2 parents 6ed9b6a + ec5b6b4 commit 955df78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ]
Expand Down
2 changes: 1 addition & 1 deletion agility/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 955df78

Please sign in to comment.