File tree Expand file tree Collapse file tree 2 files changed +18
-27
lines changed Expand file tree Collapse file tree 2 files changed +18
-27
lines changed Original file line number Diff line number Diff line change 11repos :
2- - repo : https://github.com/psf/black
3- rev : 22.3.0
4- hooks :
5- - id : black
6- exclude : ^.*\b(schema_generated)\b.*$
7- entry : black --check --force-exclude
8-
92 - repo : https://github.com/codespell-project/codespell
103 rev : v2.1.0
114 hooks :
125 - id : codespell
136
14- - repo : https://github.com/PyCQA/flake8
15- rev : 4.0.1
7+ - repo : https://github.com/astral-sh/ruff-pre-commit
8+ rev : v0.11.12
9+ hooks :
10+ - id : ruff
11+ args : ["--config", "./.ruff.toml"]
12+
13+ - repo : https://github.com/google/yapf
14+ rev : v0.43.0
15+ hooks :
16+ - id : yapf
17+ args : ["-ir", "--style", "./.style.yapf"]
18+
19+ - repo : https://github.com/pre-commit/mirrors-mypy
20+ rev : v1.16.0
1621 hooks :
17- - id : flake8
22+ - id : mypy
23+ additional_dependencies : [types-PyYAML]
Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ build = [
5656dev = [
5757 " pylint" ,
5858 " mypy" ,
59- " black" ,
60- " isort" ,
6159 " mypy" ,
60+ " ruff" ,
61+ " pre-commit"
6262]
6363test = [
6464 " pytest==8.3.3" ,
@@ -118,18 +118,3 @@ disable = [
118118 " R0913" , # (too-many-arguments)
119119 " W0105" , # (pointless-string-statement)
120120]
121-
122- [tool .black ]
123- line-length = 88
124- target-version = [' py310' ]
125- include = ' \.pyi?$'
126- extend-exclude = '''
127- src/geos_trame/schema_generated/*.py
128- '''
129-
130- [tool .isort ]
131- profile = " black"
132- src_paths = [" src" , " tests" ]
133- blackArgs = [" --preview" ]
134- py_version = 310
135-
You can’t perform that action at this time.
0 commit comments