Skip to content

Commit 94de822

Browse files
[pre-commit.ci] pre-commit autoupdate
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.5.0...v5.0.0) - [github.com/python-jsonschema/check-jsonschema: 0.27.3 → 0.31.2](python-jsonschema/check-jsonschema@0.27.3...0.31.2) - [github.com/codespell-project/codespell: v2.2.6 → v2.4.1](codespell-project/codespell@v2.2.6...v2.4.1) - [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.9.9](astral-sh/ruff-pre-commit@v0.1.14...v0.9.9) - [github.com/pycqa/bandit: 1.7.7 → 1.8.3](PyCQA/bandit@1.7.7...1.8.3)
1 parent 1c3330c commit 94de822

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

.pre-commit-config.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,57 +4,57 @@ ci:
44
default_language_version:
55
python: python3.12
66

7-
default_stages: [commit]
7+
default_stages: [pre-commit]
88

99
repos:
1010
# general checks (see here: https://pre-commit.com/hooks.html)
1111
- repo: https://github.com/pre-commit/pre-commit-hooks
12-
rev: v4.5.0
12+
rev: v5.0.0
1313
hooks:
1414
- id: check-merge-conflict
15-
stages: [commit]
15+
stages: [pre-commit]
1616
- id: check-yaml
1717
args: [--allow-multiple-documents]
18-
stages: [commit, manual]
18+
stages: [pre-commit, manual]
1919
- id: check-toml
20-
stages: [commit, manual]
20+
stages: [pre-commit, manual]
2121
- id: end-of-file-fixer
22-
stages: [commit, manual]
22+
stages: [pre-commit, manual]
2323
- id: trailing-whitespace
24-
stages: [commit, manual]
24+
stages: [pre-commit, manual]
2525
- id: check-added-large-files
26-
stages: [commit, manual]
26+
stages: [pre-commit, manual]
2727
- id: check-ast
28-
stages: [commit, manual]
28+
stages: [pre-commit, manual]
2929
- id: name-tests-test
3030
args: ["--pytest-test-first"]
31-
stages: [commit]
31+
stages: [pre-commit]
3232

3333
- repo: https://github.com/python-jsonschema/check-jsonschema
34-
rev: 0.27.3
34+
rev: 0.31.2
3535
hooks:
3636
- id: check-github-actions
3737
args: ["--verbose"]
38-
stages: [commit, manual]
38+
stages: [pre-commit, manual]
3939
- id: check-github-workflows
4040
args: ["--verbose"]
41-
stages: [commit, manual]
41+
stages: [pre-commit, manual]
4242

4343
- repo: https://github.com/codespell-project/codespell
44-
rev: v2.2.6
44+
rev: v2.4.1
4545
hooks:
4646
- id: codespell
4747
additional_dependencies:
4848
- tomli
49-
stages: [commit, manual]
49+
stages: [pre-commit, manual]
5050

5151
# ruff - linting and formatting
5252
- repo: https://github.com/astral-sh/ruff-pre-commit
53-
rev: "v0.1.14"
53+
rev: "v0.9.9"
5454
hooks:
5555
- id: ruff
5656
name: ruff
57-
stages: [commit, manual]
57+
stages: [pre-commit, manual]
5858

5959
# mypy - lint-like type checking
6060
# - repo: https://github.com/pre-commit/mirrors-mypy
@@ -72,7 +72,7 @@ repos:
7272
args: [--in-place]
7373
additional_dependencies: [tomli]
7474
files: (^src/|^tests/|^docs/)
75-
stages: [commit, manual]
75+
stages: [pre-commit, manual]
7676

7777
# prettier - formatting JS, CSS, JSON, Markdown, ...
7878
- repo: https://github.com/pre-commit/mirrors-prettier
@@ -81,19 +81,19 @@ repos:
8181
- id: prettier
8282
exclude: (^poetry.lock|docs/_sidebar.yml)
8383
types_or: [css, javascript, markdown, yaml, json]
84-
stages: [commit, manual]
84+
stages: [pre-commit, manual]
8585

8686
# bandit - find common security issues
8787
- repo: https://github.com/pycqa/bandit
88-
rev: 1.7.7
88+
rev: 1.8.3
8989
hooks:
9090
- id: bandit
9191
name: bandit
9292
exclude: ^tests/
9393
args:
9494
- -r
9595
- src
96-
stages: [commit]
96+
stages: [pre-commit]
9797

9898
- repo: local
9999
hooks:
@@ -103,4 +103,4 @@ repos:
103103
language: system
104104
types: [python]
105105
pass_filenames: false
106-
stages: [commit]
106+
stages: [pre-commit]

0 commit comments

Comments
 (0)