Skip to content

Commit 1d4cc64

Browse files
committed
add in-container/lint and type check
1 parent 68b0dd1 commit 1d4cc64

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ in-container/manage:
114114
in-container/tests:
115115
$(CONTAINER_TEST_CMD) -vvv
116116

117+
in-container/lint:
118+
cd intbot && ruff check .
119+
120+
in-container/type-check:
121+
cd intbot && mypy intbot
122+
117123

118124
# Docker management targets
119125
# =========================
@@ -127,6 +133,10 @@ docker/run/gunicorn:
127133
docker/run/tests:
128134
$(DOCKER_RUN) make in-container/tests
129135

136+
docker/run/lint:
137+
$(DOCKER_RUN) make in-container/lint
138+
$(DOCKER_RUN) make in-container/type-check
139+
130140

131141
# Deploymenet targets
132142
# ====================

0 commit comments

Comments
 (0)