Skip to content

Commit f2a1bec

Browse files
author
Jan Tychtl
committed
fix: (MCP ruler) fix lint and lint-fix for python validation
JIRA: GDAI-996 risk: low
1 parent d303243 commit f2a1bec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

project_common.mk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ CURR_DIR_BASE_NAME = $(notdir $(CURDIR))
2323
all:
2424
echo "Nothing here yet."
2525

26+
.PHONY: lint
27+
lint:
28+
(cd ../..; .venv/bin/ruff check packages/$(CURR_DIR_BASE_NAME))
29+
30+
.PHONY: lint-fix
31+
lint-fix:
32+
(cd ../..; .venv/bin/ruff check packages/$(CURR_DIR_BASE_NAME) --fix)
33+
2634
.PHONY: format
2735
format:
2836
(cd ../..; .venv/bin/ruff format --check packages/$(CURR_DIR_BASE_NAME))

0 commit comments

Comments
 (0)