Skip to content

Commit 058a9df

Browse files
github-actions[bot]utfesoteric-ephemera
authored
Auto-update pre-commit hooks (#1114)
* Auto-update pre-commit hooks * remove unused lj sigma --------- Co-authored-by: utf <utf@users.noreply.github.com> Co-authored-by: Aaron Kaplan <33381112+esoteric-ephemera@users.noreply.github.com> Co-authored-by: esoteric-ephemera <aaron.kaplan.physics@gmail.com>
1 parent bfb20d1 commit 058a9df

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ default_language_version:
33
exclude: ^(.github/|tests/test_data/abinit/)
44
repos:
55
- repo: https://github.com/charliermarsh/ruff-pre-commit
6-
rev: v0.12.10
6+
rev: v0.14.2
77
hooks:
88
- id: ruff
99
args: [--fix]
@@ -16,11 +16,11 @@ repos:
1616
- id: end-of-file-fixer
1717
- id: trailing-whitespace
1818
- repo: https://github.com/asottile/pyupgrade
19-
rev: v3.20.0
19+
rev: v3.21.0
2020
hooks:
2121
- id: pyupgrade
2222
- repo: https://github.com/asottile/blacken-docs
23-
rev: 1.19.1
23+
rev: 1.20.0
2424
hooks:
2525
- id: blacken-docs
2626
additional_dependencies: [black]
@@ -33,7 +33,7 @@ repos:
3333
- id: rst-directive-colons
3434
- id: rst-inline-touching-normal
3535
- repo: https://github.com/pre-commit/mirrors-mypy
36-
rev: v1.17.1
36+
rev: v1.18.2
3737
hooks:
3838
- id: mypy
3939
files: ^src/

src/atomate2/openmm/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ class should be as follows:
323323
lorentz.addParticle([sigma, epsilon])
324324
nonbonded_force.setParticleParameters(index, charge, sigma, epsilon * 0)
325325
for i in range(nonbonded_force.getNumExceptions()):
326-
(p1, p2, q, sig, eps) = nonbonded_force.getExceptionParameters(i)
326+
(p1, p2, q, _, eps) = nonbonded_force.getExceptionParameters(i)
327327
# ALL THE 1-2, 1-3 and 1-4 interactions are EXCLUDED FROM CUSTOM NONBONDED FORCE
328328
lorentz.addExclusion(p1, p2)
329329
if eps.value_in_unit(eps.unit) != 0.0:

0 commit comments

Comments
 (0)