diff --git a/Makefile b/Makefile index 3b6c47f..b1b349b 100644 --- a/Makefile +++ b/Makefile @@ -4,13 +4,16 @@ test-requirements: test: test-lint test-unit test-types test-format ## Run all tests by decreasing order of priority test-format: ## Run code formatting tests - black --check --diff tests.py + black --check --diff *.py test-lint: ## Run code linting tests - pylint --errors-only --enable=unused-import,unused-argument --ignore=templates tests.py + pylint --errors-only --enable=unused-import,unused-argument --ignore=templates *.py test-unit: ## Run unit tests python -m unittest run ./tests.py test-types: ## Check type definitions - mypy --ignore-missing-imports --implicit-reexport --strict tests.py + mypy --ignore-missing-imports --implicit-reexport --strict *.py + +format: ## Format code + black *.py