Skip to content

Commit

Permalink
enable ruff cache (faster)
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 9, 2024
1 parent 4649a88 commit 0a71d0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ test-coverage: ## Run test coverage.
# ===================================================================

ruff: ## Run ruff linter.
@git ls-files '*.py' | xargs $(PYTHON) -m ruff check --no-cache --output-format=concise
@git ls-files '*.py' | xargs $(PYTHON) -m ruff check --output-format=concise

black: ## Python files linting (via black)
@git ls-files '*.py' | xargs $(PYTHON) -m black --check --safe
Expand Down Expand Up @@ -201,7 +201,7 @@ fix-black:
@git ls-files '*.py' | xargs $(PYTHON) -m black

fix-ruff:
@git ls-files '*.py' | xargs $(PYTHON) -m ruff check --no-cache --fix --output-format=concise $(ARGS)
@git ls-files '*.py' | xargs $(PYTHON) -m ruff check --fix --output-format=concise $(ARGS)

fix-toml: ## Fix pyproject.toml
@git ls-files '*.toml' | xargs toml-sort
Expand Down

0 comments on commit 0a71d0e

Please sign in to comment.