We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fef7487 commit cd620adCopy full SHA for cd620ad
1 file changed
Makefile
@@ -5,7 +5,7 @@ PYTHON=python3.11
5
help:
6
@perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-25s\033[0m %s\n", $$1, $$2}'
7
8
-clean: clean-build clean-pyc format scan
+clean: clean-build clean-pyc format scan type-check
9
10
clean-build: ## Remove build artifacts
11
rm -fr build/
@@ -25,6 +25,9 @@ format: ## Run code formatting
25
scan: ## Run code scanning checks
26
bandit device_detector -r -c pyproject.toml
27
28
+type-check: ## Run type checker
29
+ mypy device_detector
30
+
31
test: ## Run the tests
32
$(PYTHON) -m unittest
33
0 commit comments