File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11repos :
2+
23- repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v2.3 .0
4+ rev : v4.5 .0
45 hooks :
56 - id : check-yaml
67 - id : end-of-file-fixer
78 - id : trailing-whitespace
8- - repo : https://github.com/psf/black
9- rev : 23.7.0
10- hooks :
11- - id : black
9+
1210- repo : https://github.com/pre-commit/mirrors-mypy
13- rev : v1.4 .1
11+ rev : v1.7 .1
1412 hooks :
1513 - id : mypy
1614 args : [--ignore-missing-imports, --follow-imports=skip]
1715 additional_dependencies : [types-requests]
16+
1817- repo : https://github.com/pre-commit/mirrors-isort
19- rev : v5.9.3
18+ rev : v5.10.1
2019 hooks :
2120 - id : isort
22- args : [--profile=black]
23- - repo : https://github.com/PYCQA/flake8
24- rev : 6 .1.0
21+
22+ - repo : https://github.com/astral-sh/ruff-pre-commit
23+ rev : v0 .1.7
2524 hooks :
26- - id : flake8
27- args : [--max-line-length=120]
25+ - id : ruff
26+ args : [ --fix ]
27+ - id : ruff-format
28+ types_or : [ python, pyi, jupyter ]
You can’t perform that action at this time.
0 commit comments