File tree Expand file tree Collapse file tree 1 file changed +35
-2
lines changed Expand file tree Collapse file tree 1 file changed +35
-2
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v2.5 .0
3+ rev : v4.3 .0
44 hooks :
55 - id : check-merge-conflict
66 - id : check-toml
99 - id : end-of-file-fixer
1010 - id : trailing-whitespace
1111 args : [--markdown-linebreak-ext=md]
12+
1213 - repo : https://github.com/pre-commit/pygrep-hooks
13- rev : v1.5.1
14+ rev : v1.9.0
1415 hooks :
1516 - id : python-check-blanket-noqa
17+
18+ - repo : https://github.com/pycqa/isort
19+ rev : 5.10.1
20+ hooks :
21+ - id : isort
22+ name : isort (python)
23+
24+ - repo : https://github.com/python-poetry/poetry
25+ rev : ' 1.2.2'
26+ hooks :
27+ - id : poetry-check
28+ - id : poetry-export
29+ args : ["-f", "requirements.txt", "-o", "main-requirements.txt"]
30+
1631 - repo : local
1732 hooks :
1833 - id : flake8
@@ -22,3 +37,21 @@ repos:
2237 language : system
2338 types : [python]
2439 require_serial : true
40+ - id : black
41+ name : black
42+ description : This hook runs black within our project's environment.
43+ entry : poetry run task black
44+ language : system
45+ types : [python]
46+ require_serial : true
47+
48+ ci :
49+ autofix_commit_msg : |
50+ [pre-commit.ci] auto fixes from pre-commit.com hooks
51+ for more information, see https://pre-commit.ci
52+ autofix_prs : true
53+ autoupdate_branch : ' '
54+ autoupdate_commit_msg : ' [pre-commit.ci] pre-commit autoupdate'
55+ autoupdate_schedule : daily
56+ skip : [flake8, black] # pre-commit.ci doesn't support running under poetry right now.
57+ submodules : false
You can’t perform that action at this time.
0 commit comments