We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bb7670 commit 92f1b3eCopy full SHA for 92f1b3e
1 file changed
.pre-commit-config.yaml
@@ -56,7 +56,35 @@ repos:
56
- id: requirements-txt-fixer
57
- id: sort-simple-yaml
58
- id: trailing-whitespace
59
+
60
- repo: https://github.com/asottile/pyupgrade
61
rev: v3.20.0
62
hooks:
63
- id: pyupgrade
64
65
+ - repo: https://github.com/psf/black
66
+ rev: 23.9.1
67
+ hooks:
68
+ - id: black
69
+ args: [ --line-length=88 ]
70
71
+ - repo: https://github.com/pycqa/isort
72
+ rev: 5.12.0
73
74
+ - id: isort
75
+ args: [ "--profile", "black" ]
76
77
+ - repo: https://github.com/pycqa/autoflake
78
+ rev: v2.2.1
79
80
+ - id: autoflake
81
+ args:
82
+ - --in-place
83
+ - --remove-all-unused-imports
84
+ - --remove-unused-variables
85
86
+ - repo: https://github.com/pycqa/flake8
87
+ rev: 6.1.0
88
89
+ - id: flake8
90
+ additional_dependencies: [ flake8-bugbear ]
0 commit comments