Skip to content

Commit

Permalink
Adding more commands to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Asaurus1 committed Mar 7, 2024
1 parent 4b1f1f6 commit 1bb5429
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,19 @@ install:
pip install -r requirements.txt
pip install .

.PHONY: check
# Run all code checkers
check: test typecheck

.PHONY: test
# Run unit tests
test:
pytest tests/
mypy streamlit_qs/ example.py tests/ --check-untyped-defs

.PHONY: typecheck
# Run typechecking
typecheck:
mypy streamlit_qs/ example.py tests/ --check-untyped-defs --install-types

.PHONY: clean
# Remove temporary files
Expand Down

0 comments on commit 1bb5429

Please sign in to comment.