Skip to content

Commit c4613f3

Browse files
author
Jan Tychtl
committed
chore: add types target to Makefile and project_common.mk for mypy checks for gdc_ruler MCP
JIRA: GDAI-996 risk: low
1 parent b908493 commit c4613f3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,12 @@ download:
7070
.PHONY: mypy
7171
mypy:
7272
RESULT=0; \
73-
for project in $(NO_CLIENT_GD_PROJECTS_DIRS); do $(MAKE) -C packages/$${project} $@ || RESULT=$$?; done; \
73+
for project in $(NO_CLIENT_GD_PROJECTS_DIRS); do $(MAKE) -C packages/$${project} mypy || RESULT=$$?; done; \
7474
exit $$RESULT
7575

76+
.PHONY: types
77+
types: mypy
78+
7679
.PHONY: test
7780
test:
7881
RESULT=0; \

project_common.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ format-fix:
4040
mypy:
4141
uv run tox $(TOX_FLAGS) -e mypy
4242

43+
.PHONY: types
44+
types: mypy
45+
4346
.PHONY: test
4447
test:
4548
uv run tox -v $(TOX_FLAGS) $(LOCAL_TEST_ENVS) $(LOCAL_ADD_ARGS)

0 commit comments

Comments
 (0)