11repos :
2- - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v4.4.0
4- hooks :
2+ - hooks :
53 - id : check-added-large-files
64 - id : check-docstring-first
75 - id : check-json
@@ -14,55 +12,65 @@ repos:
1412 - id : mixed-line-ending
1513 - id : name-tests-test
1614 - id : no-commit-to-branch
17- stages : [push]
18- - id : pretty-format-json
19- args : [--autofix]
20- - id : requirements-txt-fixer
21- args :
22- [
23- constraints/default.txt,
24- requirements.txt,
25- requirements/docs.txt,
26- requirements/lint.txt,
27- requirements/package.txt,
28- requirements/tests.txt,
29- ]
30- - id : sort-simple- yaml
31- files : .pre-commit-config. yaml
15+ stages :
16+ - push
17+ - args :
18+ - ' --autofix '
19+ id : pretty-format-json
20+ - args :
21+ - constraints/default.txt
22+ - requirements.txt
23+ - requirements/docs.txt
24+ - requirements/lint.txt
25+ - requirements/package.txt
26+ - requirements/tests.txt
27+ id : requirements-txt-fixer
28+ - files : .pre-commit-config. yaml
29+ id : sort-simple- yaml
3230 - id : trailing-whitespace
33- - repo : local
34- hooks :
35- - id : black
31+ repo : https://github.com/pre-commit/pre-commit-hooks
32+ rev : v4.4.0
33+ - hooks :
34+ - entry : pipenv run python -m black
35+ id : black
36+ language : system
3637 name : black
38+ types :
39+ - python
40+ - args :
41+ - ' --filter-files'
42+ entry : pipenv run python -m isort
43+ id : isort
3744 language : system
38- entry : pipenv run python -m black
39- types : [python]
40- - id : isort
4145 name : isort
42- language : system
43- entry : pipenv run python -m isort
4446 require_serial : true
45- types_or : [cython, pyi, python]
46- args : ["--filter-files"]
47- - id : mypy
48- name : mypy
47+ types_or :
48+ - cython
49+ - pyi
50+ - python
51+ - entry : make mypy
52+ id : mypy
4953 language : system
50- entry : make mypy
51- types : [python]
52- require_serial : true
54+ name : mypy
5355 pass_filenames : false
54- - id : ruff
56+ require_serial : true
57+ types :
58+ - python
59+ - entry : pipenv run python -m ruff
60+ id : ruff
61+ language : system
5562 name : ruff
63+ types :
64+ - python
65+ - entry : pipenv run toml-sort -a -i
66+ id : toml-sort
5667 language : system
57- entry : pipenv run python -m ruff
58- types : [python]
59- - id : toml-sort
6068 name : toml-sort
61- language : system
62- entry : pipenv run toml-sort -a -i
63- types : [toml]
64- - id : forbidden-files
65- name : forbidden files
66- entry : found Copier update rejection files; review them and remove them
69+ types :
70+ - toml
71+ - entry : found Copier update rejection files; review them and remove them
72+ files : \.rej$
73+ id : forbidden-files
6774 language : fail
68- files : " \\ .rej$"
75+ name : forbidden files
76+ repo : local
0 commit comments