Skip to content

Commit

Permalink
Auto-update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumChemist authored Jul 14, 2024
1 parent a7773c4 commit 5371f4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_language_version:
exclude: ^(.github/|tests/test_data/abinit/)
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.4.10
rev: v0.5.1
hooks:
- id: ruff
args: [--fix]
Expand All @@ -17,7 +17,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
rev: 1.18.0
hooks:
- id: blacken-docs
additional_dependencies: [black]
Expand All @@ -30,7 +30,7 @@ repos:
- id: rst-directive-colons
- id: rst-inline-touching-normal
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.10.1
hooks:
- id: mypy
files: ^src/
Expand Down
4 changes: 2 additions & 2 deletions src/atomate2/cli/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,13 +600,13 @@ def save_abinit_maker(maker: Maker) -> None:
author_mail = None
if git:
name = subprocess.run(
"git config user.name".split(), # noqa: S603
"git config user.name".split(),
capture_output=True,
encoding="utf-8",
check=True,
)
mail = subprocess.run(
"git config user.email".split(), # noqa: S603
"git config user.email".split(),
capture_output=True,
encoding="utf-8",
check=True,
Expand Down

0 comments on commit 5371f4f

Please sign in to comment.