Skip to content

Commit 6e492ea

Browse files
authored
Use ruff check $FILES instead of ruff $FILES (#23)
The invocation without the `check` subcommand has been deprecated in version 0.3.0.
1 parent 046a271 commit 6e492ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

{{cookiecutter.project_slug}}/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $(VENV)/pyvenv.cfg: pyproject.toml
6161
lint: $(VENV)/pyvenv.cfg
6262
. $(VENV_BIN)/activate && \
6363
ruff format --check $(ALL_PY_SRCS) && \
64-
ruff $(ALL_PY_SRCS) && \
64+
ruff check $(ALL_PY_SRCS) && \
6565
mypy
6666

6767
{%- if cookiecutter.docstring_coverage %}
@@ -72,7 +72,7 @@ lint: $(VENV)/pyvenv.cfg
7272
.PHONY: reformat
7373
reformat:
7474
. $(VENV_BIN)/activate && \
75-
ruff --fix $(ALL_PY_SRCS) && \
75+
ruff check --fix $(ALL_PY_SRCS) && \
7676
ruff format $(ALL_PY_SRCS)
7777

7878
.PHONY: test tests

0 commit comments

Comments
 (0)