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
@@ -67,11 +67,13 @@ repos:
67
67
- id : rst-inline-touching-normal
68
68
69
69
- repo : https://github.com/astral-sh/ruff-pre-commit
70
- rev : v0.1.3
70
+ rev : v0.1.5
71
71
hooks :
72
72
- id : ruff
73
+ types_or : [python, jupyter]
73
74
args : ["--fix", "--show-fixes"]
74
75
- id : ruff-format
76
+ types_or : [python, jupyter]
75
77
76
78
- repo : https://github.com/scientific-python/cookie
77
79
rev : " 2023.10.27"
Original file line number Diff line number Diff line change @@ -97,7 +97,10 @@ test = "pre-commit run --all-files --hook-stage manual mypy"
97
97
dependencies = [" pre-commit" ]
98
98
detached = true
99
99
[tool .hatch .envs .lint .scripts ]
100
- build = [" pre-commit run --all-files ruff" ]
100
+ build = [
101
+ " pre-commit run --all-files ruff" ,
102
+ " pre-commit run --all-files ruff-format"
103
+ ]
101
104
102
105
[tool .mypy ]
103
106
files = " jupyter_core"
@@ -145,7 +148,6 @@ exclude_lines = [
145
148
]
146
149
147
150
[tool .ruff ]
148
- target-version = " py38"
149
151
line-length = 100
150
152
151
153
[tool .ruff .lint ]
You can’t perform that action at this time.
0 commit comments