File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed
Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/psf/black
3+ rev : 23.12.1
4+ hooks :
5+ - id : black
6+ name : black
7+ description : " Black: The uncompromising Python code formatter"
8+ entry : black
9+ language : python
10+ language_version : python3
11+ minimum_pre_commit_version : 2.9.2
12+ require_serial : true
13+ types_or : [python, pyi]
14+
15+ - repo : https://github.com/pycqa/flake8
16+ rev : 7.0.0
17+ hooks :
18+ - id : flake8
19+ additional_dependencies :
20+ - flake8-bugbear
21+ - flake8-comprehensions
22+ - flake8-simplify
23+ args : [--max-line-length=88]
24+
25+ - repo : https://github.com/asottile/pyupgrade
26+ rev : v3.15.0
27+ hooks :
28+ - id : pyupgrade
29+ args : [--py310-plus]
30+
31+ - repo : https://github.com/pycqa/isort
32+ rev : 5.13.2
33+ hooks :
34+ - id : isort
35+
36+ - repo : https://github.com/pre-commit/pre-commit-hooks
37+ rev : v4.5.0
38+ hooks :
39+ - id : check-builtin-literals
40+ - id : check-added-large-files
41+ - id : check-case-conflict
42+ - id : check-toml
43+ - id : check-yaml
44+ - id : debug-statements
45+ - id : end-of-file-fixer
46+ - id : forbid-new-submodules
47+ - id : mixed-line-ending
48+ - id : trailing-whitespace
49+ - id : name-tests-test
50+ - id : file-contents-sorter
51+ files : |
52+ (?x)^(
53+ .*requirements(-\w+)?.(in|txt)|
54+ requirements/.*\.txt|
55+ .gitignore
56+ )
57+
58+ - repo : https://github.com/pre-commit/mirrors-mypy
59+ rev : v1.8.0
60+ hooks :
61+ - id : mypy
62+ language_version : python3.12
63+ additional_dependencies : [types-all]
64+ files : src/.*\.py$
You can’t perform that action at this time.
0 commit comments