Skip to content

Commit

Permalink
move type check to another target
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWillner committed Nov 10, 2024
1 parent 3f2fd7b commit 8aa51bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ code-lint: code-style ## Lint the code
@echo Flake...
@if type flake8 >/dev/null 2>&1 ; then flake8 . ; \
else echo "SKIPPED. Run '$(PIP) install flake8' first." >&2 ; fi

code-check-types: ## Check the code types
@echo Pyright...
@if type pyright >/dev/null 2>&1 ; then PYRIGHT_PYTHON_FORCE_VERSION=latest pyright *.py $(SRC_CORE) $(SRC_TEST) ; \
else echo "SKIPPED. Run 'npm install -f pyright' first." >&2 ; fi
Expand Down

0 comments on commit 8aa51bf

Please sign in to comment.