Skip to content

Commit 54e2d76

Browse files
authored
Update .pre-commit-config.yaml (#67)
1 parent 49f02e8 commit 54e2d76

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.pre-commit-config.yaml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
11
exclude: '^docs/.*$'
2+
default_language_version:
3+
python: python3.8
24
repos:
35
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v2.1.0
6+
rev: v4.3.0
7+
hooks:
8+
- id: check-docstring-first
9+
- id: check-executables-have-shebangs
10+
- id: check-json
11+
- id: check-merge-conflict
12+
- id: check-yaml
13+
- id: debug-statements
14+
- id: end-of-file-fixer
15+
- id: trailing-whitespace
16+
- repo: https://github.com/pycqa/flake8
17+
rev: 5.0.4
518
hooks:
619
- id: flake8
720
additional_dependencies:
8-
- flake8==3.3.0
9-
- flake8-tidy-imports==1.0.6
21+
- flake8-bugbear==22.10.27
22+
- flake8-builtins==2.0.1
23+
- flake8-comprehensions==3.10.1
24+
- flake8-tidy-imports==4.8.0
25+

0 commit comments

Comments
 (0)