Skip to content

Commit 975b4db

Browse files
Modify flake8 hook to fix CI warning
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. Warning: repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo.
1 parent 74885be commit 975b4db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ repos:
1111
- id: trailing-whitespace
1212
- id: check-yaml
1313
- id: debug-statements
14+
- repo: https://github.com/pycqa/flake8
15+
rev: 7.3.0
16+
hooks:
1417
- id: flake8
15-
language_version: python3

0 commit comments

Comments
 (0)