Skip to content

Commit 30dd2aa

Browse files
committed
nbqa wants ruff --fix instead of ruff check --fix
1 parent d7b82c1 commit 30dd2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ _ruff_check = "ruff check ."
171171
_ruff_check_nb = "nbqa ruff check docs"
172172
_black_format = "black ."
173173
_ruff_format = "ruff check --fix ."
174-
_ruff_format_nb = "nbqa ruff check --fix docs"
174+
_ruff_format_nb = "nbqa ruff --fix docs"
175175
lint = ["_black_check", "_ruff_check", "_ruff_check_nb"]
176176
clean-nbs = "python docs/nbstripout.py"
177177
format = ["_ruff_format", "_ruff_format_nb", "_black_format"]

0 commit comments

Comments
 (0)