File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 21
21
- id : trailing-whitespace
22
22
23
23
- repo : https://github.com/python-jsonschema/check-jsonschema
24
- rev : 0.27.0
24
+ rev : 0.27.1
25
25
hooks :
26
26
- id : check-github-workflows
27
27
@@ -66,11 +66,13 @@ repos:
66
66
- id : rst-inline-touching-normal
67
67
68
68
- repo : https://github.com/astral-sh/ruff-pre-commit
69
- rev : v0.1.3
69
+ rev : v0.1.5
70
70
hooks :
71
71
- id : ruff
72
+ types_or : [python, jupyter]
72
73
args : ["--fix", "--show-fixes"]
73
74
- id : ruff-format
75
+ types_or : [python, jupyter]
74
76
75
77
- repo : https://github.com/scientific-python/cookie
76
78
rev : " 2023.10.27"
Original file line number Diff line number Diff line change @@ -107,7 +107,10 @@ test = "pre-commit run --all-files --hook-stage manual mypy"
107
107
dependencies = [" pre-commit" ]
108
108
detached = true
109
109
[tool .hatch .envs .lint .scripts ]
110
- build = [" pre-commit run --all-files ruff" ]
110
+ build = [
111
+ " pre-commit run --all-files ruff" ,
112
+ " pre-commit run --all-files ruff-format"
113
+ ]
111
114
112
115
[tool .pytest .ini_options ]
113
116
minversion = " 6.0"
@@ -167,7 +170,6 @@ warn_return_any = false
167
170
warn_unreachable = true
168
171
169
172
[tool .ruff ]
170
- target-version = " py38"
171
173
line-length = 100
172
174
173
175
[tool .ruff .lint ]
You can’t perform that action at this time.
0 commit comments