We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25ed626 commit 3bb88d2Copy full SHA for 3bb88d2
Makefile
@@ -1,4 +1,6 @@
1
-test-requirements:
+.DEFAULT_GOAL := help
2
+
3
+test-requirements: ## Install test requirements
4
pip install black mypy pylint pyyaml types-PyYAML
5
6
test: test-lint test-unit test-types test-format ## Run all tests by decreasing order of priority
@@ -17,3 +19,9 @@ test-types: ## Check type definitions
17
19
18
20
format: ## Format code
21
black *.py
22
23
+ESCAPE =
24
+help: ## Print this help
25
+ @grep -E '^([a-zA-Z_-]+:.*?## .*|######* .+)$$' Makefile \
26
+ | sed 's/######* \(.*\)/@ $(ESCAPE)[1;31m\1$(ESCAPE)[0m/g' | tr '@' '\n' \
27
+ | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[33m%-30s\033[0m %s\n", $$1, $$2}'
0 commit comments