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
@@ -71,11 +71,13 @@ repos:
71
71
- id : rst-inline-touching-normal
72
72
73
73
- repo : https://github.com/astral-sh/ruff-pre-commit
74
- rev : v0.1.3
74
+ rev : v0.1.5
75
75
hooks :
76
76
- id : ruff
77
+ types_or : [python, jupyter]
77
78
args : ["--fix", "--show-fixes"]
78
79
- id : ruff-format
80
+ types_or : [python, jupyter]
79
81
80
82
- repo : https://github.com/scientific-python/cookie
81
83
rev : " 2023.10.27"
Original file line number Diff line number Diff line change @@ -99,7 +99,10 @@ test = "pre-commit run --all-files --hook-stage manual mypy"
99
99
dependencies = [" pre-commit" ]
100
100
detached = true
101
101
[tool .hatch .envs .lint .scripts ]
102
- build = [" pre-commit run --all-files ruff" ]
102
+ build = [
103
+ " pre-commit run --all-files ruff" ,
104
+ " pre-commit run --all-files ruff-format"
105
+ ]
103
106
104
107
[tool .jupyter-releaser .options ]
105
108
post-version-spec = " dev"
@@ -152,7 +155,6 @@ disable_error_code = ["no-untyped-def"]
152
155
warn_unreachable = true
153
156
154
157
[tool .ruff ]
155
- target-version = " py38"
156
158
line-length = 100
157
159
158
160
[tool .ruff .lint ]
You can’t perform that action at this time.
0 commit comments