From 37f788062459cd884b668d3281585fe4d66d205a Mon Sep 17 00:00:00 2001 From: Aakash Singh Date: Sun, 22 Sep 2024 15:35:22 +0530 Subject: [PATCH] fix ruff command --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 12b5f81081..0b84921fc0 100644 --- a/Makefile +++ b/Makefile @@ -56,13 +56,13 @@ ruff-all: ruff check . ruff: - ruff --fix $(shell git diff --name-only --staged | grep -E '\.py$$|\/pyproject.toml$$') + ruff check --fix $(shell git diff --name-only --staged | grep -E '\.py$$|\/pyproject.toml$$') ruff-all-docker: docker exec care bash -c "ruff check ." ruff-docker: - docker exec care bash -c "ruff --fix $(shell git diff --name-only --staged | grep -E '\.py$$|\/pyproject.toml$$')" + docker exec care bash -c "ruff check --fix $(shell git diff --name-only --staged | grep -E '\.py$$|\/pyproject.toml$$')" %: docker compose exec backend bash -c "python manage.py $*"