Skip to content

Commit 023076d

Browse files
committed
Updated check-types Makefile target
1 parent 654e3ad commit 023076d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PATH_TO_PLANTUML := ~/bin
33

44

55
run: ## Run the service locally
6-
python src/lightspeed-stack.py
6+
python src/lightspeed-stack.py "$@"
77

88
test-unit: ## Run the unit tests
99
@echo "Running unit tests..."
@@ -16,7 +16,7 @@ test-integration: ## Run integration tests tests
1616
COVERAGE_FILE="${ARTIFACT_DIR}/.coverage.integration" pdm run pytest tests/integration --cov=src --cov-report term-missing --cov-report "json:${ARTIFACT_DIR}/coverage_integration.json" --junit-xml="${ARTIFACT_DIR}/junit_integration.xml" --cov-fail-under=60
1717

1818
check-types: ## Checks type hints in sources
19-
MYPYPATH=src pdm run mypy --namespace-packages --explicit-package-bases --strict --disallow-untyped-calls --disallow-untyped-defs --disallow-incomplete-defs .
19+
MYPYPATH=src pdm run mypy --namespace-packages --explicit-package-bases --strict --disallow-untyped-calls --disallow-untyped-defs --disallow-incomplete-defs src
2020

2121
security-check: ## Check the project for security issues
2222
bandit -c pyproject.toml -r src tests

0 commit comments

Comments
 (0)