File tree Expand file tree Collapse file tree 2 files changed +27
-6
lines changed Expand file tree Collapse file tree 2 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 11repos :
22 # Autoformat: Python
33 - repo : https://github.com/pycqa/isort
4- rev : 5.10.1
4+ rev : v5.11.3
55 hooks :
66 - id : isort
77
88 # Autoformat: Python
99 - repo : https://github.com/psf/black
10- rev : 22.10 .0
10+ rev : 22.12 .0
1111 hooks :
1212 - id : black
13+
1314 # Autoformat: shell scripts
1415 - repo : https://github.com/lovesegfault/beautysh
1516 rev : v6.2.1
1617 hooks :
1718 - id : beautysh
19+
1820 # Autoformat: markdown, yaml
1921 - repo : https://github.com/pre-commit/mirrors-prettier
2022 rev : v3.0.0-alpha.4
2123 hooks :
2224 - id : prettier
23- # code-correctess
25+
26+ # Lint: Python code
2427 - repo : https://github.com/PyCQA/flake8
25- rev : " 5 .0.4 "
28+ rev : " 6 .0.0 "
2629 hooks :
2730 - id : flake8
31+
32+ # Misc autoformatting and linting
2833 - repo : https://github.com/pre-commit/pre-commit-hooks
29- rev : v4.3 .0
34+ rev : v4.4 .0
3035 hooks :
3136 - id : end-of-file-fixer
37+ - id : requirements-txt-fixer
3238 - id : check-case-conflict
3339 - id : check-executables-have-shebangs
34- - id : requirements-txt-fixer
40+
41+ # pre-commit.ci config reference: https://pre-commit.ci/#configuration
42+ ci :
43+ autoupdate_schedule : monthly
Original file line number Diff line number Diff line change 1+ # isort is used for autoformatting Python code
2+ #
3+ # ref: https://pycqa.github.io/isort/
4+ #
15[tool .isort ]
26profile = " black"
37
8+
9+ # black is used for autoformatting Python code
10+ #
11+ # ref: https://black.readthedocs.io/en/stable/
12+ #
413[tool .black ]
514skip-string-normalization = true
615target_version = [
716 " py36" ,
817 " py37" ,
918 " py38" ,
19+ " py39" ,
20+ " py310" ,
21+ " py311" ,
1022]
You can’t perform that action at this time.
0 commit comments