From 0a71d0e404ddaab32b5222351fd2292802e3b131 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Wed, 9 Oct 2024 21:10:01 +0200 Subject: [PATCH] enable ruff cache (faster) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cbf20cb06..7a38ee57f 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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