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 1
1
repos :
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
-
9
2
- repo : https://github.com/codespell-project/codespell
10
3
rev : v2.1.0
11
4
hooks :
12
5
- id : codespell
13
6
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
16
21
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 = [
56
56
dev = [
57
57
" pylint" ,
58
58
" mypy" ,
59
- " black" ,
60
- " isort" ,
61
59
" mypy" ,
60
+ " ruff" ,
61
+ " pre-commit"
62
62
]
63
63
test = [
64
64
" pytest==8.3.3" ,
@@ -118,18 +118,3 @@ disable = [
118
118
" R0913" , # (too-many-arguments)
119
119
" W0105" , # (pointless-string-statement)
120
120
]
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