We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d3f632 commit 900750dCopy full SHA for 900750d
1 file changed
Makefile
@@ -2,6 +2,17 @@
2
SRC_DIRS := src/ test/ # FIXME
3
4
# Tasks
5
+.PHONY: help
6
+help:
7
+ @echo "Available targets:"
8
+ @echo " format : Format code using Black and isort"
9
+ @echo " check_format : Check code formatting with Black and isort"
10
+ @echo " lint : Run pylint and Mypy for static code analysis"
11
+ @echo " test : Run tests using pytest"
12
+ @echo " clean : Clean up caches and build artifacts"
13
+ @echo " run_local_checks : Run format, lint, and test"
14
+ @echo " help : Show this help message"
15
+
16
.PHONY: format
17
format:
18
@echo "==> Formatting code..."
@@ -23,7 +34,6 @@ lint:
23
34
@echo "==> Running Mypy..."
24
35
@poetry run mypy $(SRC_DIRS)
25
36
26
-
27
37
.PHONY: test
28
38
test:
29
39
@echo "==> Running tests..."
@@ -41,5 +51,4 @@ clean:
41
51
@rm -rf dist
42
52
@rm -rf *.egg-info
43
53
44
45
54
run_local_checks: format lint test
0 commit comments