Skip to content

Commit

Permalink
Fix ruff version and check.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Jun 27, 2024
1 parent ea8c3c5 commit 3a473ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
rev: v0.5.0
hooks:
- id: ruff
args: [ --fix, --unsafe-fixes ]
Expand Down
2 changes: 1 addition & 1 deletion src/pymatgen/io/vasp/sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def as_dict(self, verbosity: int = 2) -> dict:
return dct

@property # type: ignore[no-redef]
def structure(self) -> Structure | None:
def structure(self) -> Structure | None: # noqa: F811
"""Structure."""
return self._structure

Expand Down

0 comments on commit 3a473ec

Please sign in to comment.