Skip to content

Commit

Permalink
Use ruff check $FILES instead of ruff $FILES (#23)
Browse files Browse the repository at this point in the history
The invocation without the `check` subcommand has been deprecated
in version 0.3.0.
  • Loading branch information
facutuesca authored Mar 8, 2024
1 parent 046a271 commit 6e492ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.project_slug}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $(VENV)/pyvenv.cfg: pyproject.toml
lint: $(VENV)/pyvenv.cfg
. $(VENV_BIN)/activate && \
ruff format --check $(ALL_PY_SRCS) && \
ruff $(ALL_PY_SRCS) && \
ruff check $(ALL_PY_SRCS) && \
mypy

{%- if cookiecutter.docstring_coverage %}
Expand All @@ -72,7 +72,7 @@ lint: $(VENV)/pyvenv.cfg
.PHONY: reformat
reformat:
. $(VENV_BIN)/activate && \
ruff --fix $(ALL_PY_SRCS) && \
ruff check --fix $(ALL_PY_SRCS) && \
ruff format $(ALL_PY_SRCS)

.PHONY: test tests
Expand Down

0 comments on commit 6e492ea

Please sign in to comment.