We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04a15bd commit 847c2d3Copy full SHA for 847c2d3
1 file changed
.pre-commit-config.yaml
@@ -0,0 +1,27 @@
1
+repos:
2
+ - repo: https://github.com/psf/black
3
+ rev: 23.7.0 # Use the latest stable version available
4
+ hooks:
5
+ - id: black
6
+ language_version: python3
7
+
8
+ - repo: https://github.com/PyCQA/isort
9
+ rev: 5.12.0 # Update as appropriate
10
11
+ - id: isort
12
13
14
+ - repo: https://github.com/PyCQA/flake8
15
+ rev: 6.1.0 # Update as needed
16
17
+ - id: flake8
18
+ additional_dependencies: [flake8-bugbear] # optional extra checks
19
20
+ - repo: https://github.com/pre-commit/pre-commit-hooks
21
+ rev: v4.6.0 # Update as needed
22
23
+ - id: trailing-whitespace
24
+ - id: end-of-file-fixer
25
+ - id: check-yaml
26
+ - id: debug-statements # Optional: fails if there are print() or debugger statements
27
0 commit comments