Skip to content

Commit 342adfb

Browse files
authored
Upgrade pre-commit hooks using pre-commit-upgrade and manual upgrade of ansys hooks (#1893)
Signed-off-by: paul.profizi <[email protected]>
1 parent 0d9c7bb commit 342adfb

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

.pre-commit-config.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,35 @@ exclude: >
1111
)
1212
repos:
1313

14-
- repo: https://github.com/charliermarsh/ruff-pre-commit
15-
rev: v0.6.3
16-
hooks:
17-
- id: ruff
18-
args: [ --fix ]
19-
- id: ruff-format
14+
- repo: https://github.com/charliermarsh/ruff-pre-commit
15+
rev: v0.7.3
16+
hooks:
17+
- id: ruff
18+
args: [--fix]
19+
- id: ruff-format
2020

21-
- repo: https://github.com/codespell-project/codespell
22-
rev: v2.3.0
23-
hooks:
24-
- id: codespell
25-
args: ["--ignore-words=./doc/styles/config/vocabularies/ANSYS/accept.txt"]
21+
- repo: https://github.com/codespell-project/codespell
22+
rev: v2.3.0
23+
hooks:
24+
- id: codespell
25+
args: ["--ignore-words=./doc/styles/config/vocabularies/ANSYS/accept.txt"]
2626

27-
- repo: https://github.com/pre-commit/pre-commit-hooks
28-
rev: v4.6.0
29-
hooks:
30-
- id: check-merge-conflict
31-
- id: debug-statements
32-
- id: requirements-txt-fixer
27+
- repo: https://github.com/pre-commit/pre-commit-hooks
28+
rev: v5.0.0
29+
hooks:
30+
- id: check-merge-conflict
31+
- id: debug-statements
32+
- id: requirements-txt-fixer
3333

34-
- repo: https://github.com/ansys/pre-commit-hooks
35-
rev: v0.4.3
36-
hooks:
37-
- id: add-license-headers
38-
args:
39-
- --start_year=2020
34+
- repo: https://github.com/ansys/pre-commit-hooks
35+
rev: v0.4.4
36+
hooks:
37+
- id: add-license-headers
38+
args:
39+
- --start_year=2020
4040

4141
# this validates our github workflow files
42-
- repo: https://github.com/python-jsonschema/check-jsonschema
43-
rev: 0.29.2
44-
hooks:
45-
- id: check-github-workflows
42+
- repo: https://github.com/python-jsonschema/check-jsonschema
43+
rev: 0.29.4
44+
hooks:
45+
- id: check-github-workflows

0 commit comments

Comments
 (0)