Skip to content

Commit 02c20d5

Browse files
committed
chore(Makefile): update ruff tasks for format and lint commands
Signed-off-by: Tomas Sanchez <tosanchez@frba.utn.edu.ar>
1 parent 22c6561 commit 02c20d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cover: ## Executes tests cases with coverage reports
4040

4141
.PHONY: format
4242
format: ## Formats the code using Ruff
43-
uv run ruff check ./src
43+
uv run ruff format ./src ./tests
4444

4545
.PHONY: pre-commit
4646
pre-commit: ## Runs pre-commit hooks on all files
@@ -49,11 +49,11 @@ pre-commit: ## Runs pre-commit hooks on all files
4949
.PHONY: lint
5050
lint: ## Applies static analysis and type checks
5151
uv run ruff check ./src
52+
uv run ruff format --check ./src
5253

5354
.PHONY: fix
5455
fix: ## Fix lint errors
55-
uv run ruff check ./src ./tests --fix
56-
uv run ruff format ./src ./tests
56+
uv run ruff check --fix ./src
5757

5858
.PHONY: help
5959
help: ## Show make target documentation

0 commit comments

Comments
 (0)