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 @@ -74,11 +74,13 @@ repos:
7474 - id : rst-inline-touching-normal
7575
7676 - repo : https://github.com/astral-sh/ruff-pre-commit
77- rev : v0.1.4
77+ rev : v0.1.5
7878 hooks :
7979 - id : ruff
80+ types_or : [python, jupyter]
8081 args : ["--fix", "--show-fixes"]
8182 - id : ruff-format
83+ types_or : [python, jupyter]
8284
8385 - repo : https://github.com/scientific-python/cookie
8486 rev : " 2023.10.27"
Original file line number Diff line number Diff line change @@ -120,7 +120,10 @@ test = "pre-commit run --all-files --hook-stage manual mypy"
120120dependencies = [" pre-commit" ]
121121detached = true
122122[tool .hatch .envs .lint .scripts ]
123- build = [" pre-commit run --all-files ruff" ]
123+ build = [
124+ " pre-commit run --all-files ruff" ,
125+ " pre-commit run --all-files ruff-format"
126+ ]
124127
125128[tool .mypy ]
126129files = " ipykernel"
@@ -205,7 +208,6 @@ omit = [
205208]
206209
207210[tool .ruff ]
208- target-version = " py38"
209211line-length = 100
210212
211213[tool .ruff .lint ]
You can’t perform that action at this time.
0 commit comments