File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # See https://pre-commit.com for more information
2+ # See https://pre-commit.com/hooks.html for more hooks
3+ default_language_version :
4+ python : python3.10
5+ repos :
6+ # - repo: https://github.com/pre-commit/pre-commit-hooks
7+ # rev: v4.4.0
8+ # hooks:
9+ # - id: check-added-large-files
10+ # - id: check-toml
11+ # - id: check-yaml
12+ # args:
13+ # - --unsafe
14+ # - id: end-of-file-fixer
15+ # - id: trailing-whitespace
16+ - repo : https://github.com/asottile/pyupgrade
17+ rev : v3.3.1
18+ hooks :
19+ - id : pyupgrade
20+ args :
21+ - --py38-plus
22+ - --keep-runtime-typing
23+ - repo : https://github.com/charliermarsh/ruff-pre-commit
24+ rev : v0.0.270
25+ hooks :
26+ - id : ruff
27+ args :
28+ - --fix
29+ - --exit-non-zero-on-fix
30+ - repo : https://github.com/pycqa/isort
31+ rev : 5.12.0
32+ hooks :
33+ - id : isort
34+ name : isort (python)
35+ - id : isort
36+ name : isort (cython)
37+ types : [cython]
38+ - id : isort
39+ name : isort (pyi)
40+ types : [pyi]
41+ - repo : https://github.com/psf/black
42+ rev : 23.1.0
43+ hooks :
44+ - id : black
You can’t perform that action at this time.
0 commit comments