Skip to content

Commit 79c3901

Browse files
[pre-commit.ci] pre-commit autoupdate (#211)
updates: - [github.com/psf/black: 24.8.0 → 24.10.0](psf/black@24.8.0...24.10.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.7.0](astral-sh/ruff-pre-commit@v0.6.8...v0.7.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent b22f28f commit 79c3901

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ default_language_version:
22
python: python3.12
33
files: '.py'
44
exclude: ".env,.yml,.gitignore,.git,.md,.txt"
5-
default_stages: [push, commit]
5+
default_stages: [pre-push, pre-commit]
66
repos:
77
- repo: https://github.com/PyCQA/bandit
88
rev: 1.7.10
99
hooks:
1010
- id: bandit
1111
args: ["-c", "pyproject.toml"]
1212
name: Bandit
13-
stages: [commit]
13+
stages: [pre-commit]
1414
additional_dependencies: ["bandit[toml]"]
1515

1616
- repo: https://github.com/psf/black
17-
rev: 24.8.0
17+
rev: 24.10.0
1818
hooks:
1919
- id: black
2020
name: Black
21-
stages: [commit]
21+
stages: [pre-commit]
2222

2323
- repo: https://github.com/PyCQA/autoflake
2424
rev: v2.3.1
@@ -27,10 +27,10 @@ repos:
2727
args: ["--in-place", "--remove-unused-variables", "--recursive"]
2828
name: AutoFlake
2929
description: "Format with AutoFlake"
30-
stages: [commit]
30+
stages: [pre-commit]
3131

3232
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: v0.6.8
33+
rev: v0.7.0
3434
hooks:
3535
- id: ruff
3636
name: Ruff
@@ -42,6 +42,6 @@ repos:
4242
- id: isort
4343
name: ISort
4444
description: "Format with Isort"
45-
stages: [commit]
45+
stages: [pre-commit]
4646

4747

0 commit comments

Comments
 (0)