File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,13 @@ repos:
77
77
]
78
78
79
79
- repo : https://github.com/astral-sh/ruff-pre-commit
80
- rev : v0.1.4
80
+ rev : v0.1.5
81
81
hooks :
82
82
- id : ruff
83
+ types_or : [python, jupyter]
83
84
args : ["--fix", "--show-fixes"]
84
85
- id : ruff-format
86
+ types_or : [python, jupyter]
85
87
86
88
- repo : https://github.com/scientific-python/cookie
87
89
rev : " 2023.10.27"
Original file line number Diff line number Diff line change @@ -111,7 +111,10 @@ nowarn = "test -W default {args}"
111
111
detached = true
112
112
dependencies = [" pre-commit" ]
113
113
[tool .hatch .envs .lint .scripts ]
114
- build = " pre-commit run --all-files ruff"
114
+ build = [
115
+ " pre-commit run --all-files ruff" ,
116
+ " pre-commit run --all-files ruff-format"
117
+ ]
115
118
116
119
[tool .hatch .envs .typing ]
117
120
dependencies = [ " pre-commit" ]
@@ -180,7 +183,6 @@ module = [
180
183
ignore_missing_imports = true
181
184
182
185
[tool .ruff ]
183
- target-version = " py38"
184
186
line-length = 100
185
187
186
188
[tool .ruff .lint ]
You can’t perform that action at this time.
0 commit comments