add mypy lint to makefile

This commit is contained in:
deeplow 2022-07-20 14:29:12 +01:00
parent 93392f8206
commit 75c4ee3d2b
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -14,6 +14,19 @@ lint-isort: ## check imports are organized, with isort
lint-isort-apply: ## apply isort's imports organization suggestions lint-isort-apply: ## apply isort's imports organization suggestions
isort ./ isort ./
mypy-host:
mypy dangerzone
mypy-container:
mypy container
mypy-dev-scripts:
mypy install \
dev_scripts/* \
*.py
mypy: mypy-host # mypy-container mypy-dev-scripts ## check type hints with mypy
.PHONY: lint .PHONY: lint
lint: lint-black lint-isort ## check the code with various linters lint: lint-black lint-isort ## check the code with various linters