Skip to content

Commit d1f0a85

Browse files
authored
Merge pull request #404 from materialsvirtuallab/pre-commit-ci-update-config
pre-commit autoupdate
2 parents 9ebdac6 + 13694a9 commit d1f0a85

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,46 +8,46 @@ ci:
88

99
repos:
1010
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.9.6
11+
rev: v0.9.9
1212
hooks:
1313
- id: ruff
1414
args: [ --fix, --unsafe-fixes ]
1515
- id: ruff-format
1616

1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v4.6.0
18+
rev: v5.0.0
1919
hooks:
2020
- id: check-yaml
2121
- id: end-of-file-fixer
2222
- id: trailing-whitespace
2323

2424
- repo: https://github.com/pre-commit/mirrors-mypy
25-
rev: v1.10.1
25+
rev: v1.15.0
2626
hooks:
2727
- id: mypy
2828

2929
- repo: https://github.com/codespell-project/codespell
30-
rev: v2.3.0
30+
rev: v2.4.1
3131
hooks:
3232
- id: codespell
3333
stages: [ pre-commit, commit-msg ]
3434
exclude_types: [ html ]
3535
additional_dependencies: [ tomli ] # needed to read pyproject.toml below py3.11
3636

3737
- repo: https://github.com/MarcoGorelli/cython-lint
38-
rev: v0.16.2
38+
rev: v0.16.6
3939
hooks:
4040
- id: cython-lint
4141
args: [ --no-pycodestyle ]
4242
- id: double-quote-cython-strings
4343

4444
- repo: https://github.com/adamchainz/blacken-docs
45-
rev: 1.16.0
45+
rev: 1.19.1
4646
hooks:
4747
- id: blacken-docs
4848

4949
- repo: https://github.com/igorshubovych/markdownlint-cli
50-
rev: v0.41.0
50+
rev: v0.44.0
5151
hooks:
5252
- id: markdownlint
5353
# MD013: line too long
@@ -58,12 +58,12 @@ repos:
5858
args: [ --disable, MD013, MD024, MD025, MD033, MD041, "--" ]
5959

6060
- repo: https://github.com/kynan/nbstripout
61-
rev: 0.7.1
61+
rev: 0.8.1
6262
hooks:
6363
- id: nbstripout
6464
args: [ --drop-empty-cells, --keep-output ]
6565

6666
- repo: https://github.com/RobertCraigie/pyright-python
67-
rev: v1.1.369
67+
rev: v1.1.396
6868
hooks:
6969
- id: pyright

examples/neb_idpp_solver.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"init_struct = Structure.from_file(os.path.join(dirname, \"CONTCAR-0\"), False)\n",
1919
"final_struct = Structure.from_file(os.path.join(dirname, \"CONTCAR-1\"), False)\n",
2020
"\n",
21-
"obj = IDPPSolver.from_endpoints(endpoints=[init_struct, final_struct], nimages=3,\n",
22-
" sort_tol=1.0)\n",
21+
"obj = IDPPSolver.from_endpoints(endpoints=[init_struct, final_struct], nimages=3, sort_tol=1.0)\n",
2322
"new_path = obj.run(maxiter=5000, tol=1e-5, gtol=1e-3, species=[\"Li\"])"
2423
]
2524
}

0 commit comments

Comments
 (0)