File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ .DEFAULT : help
2+
3+ help :
4+ @echo " make install"
5+ @echo " install all dependencies specified in pyproject.toml"
6+ @echo " make lint"
7+ @echo " run flake8 checks"
8+ @echo " make format"
9+ @echo " run isort and black to format code"
10+ @echo " make check"
11+ @echo " run all code quality checks (format + lint)"
12+ @echo " make test"
13+ @echo " run pytest"
14+ @echo " make all"
15+ @echo " run format, lint, and test"
16+ @echo " make help"
17+ @echo " print this help message"
18+
19+ install :
20+ poetry install
21+
22+ lint :
23+ poetry run flake8 . --max-line-length=120 --exclude=.venv,.git,__pycache__
24+
25+ format :
26+ poetry run isort .
27+ poetry run black .
28+
29+ check : format lint
30+
31+ test :
32+ poetry run pytest tests/
33+
34+ all : format lint test
35+
36+ .PHONY : help install lint format check test all
You can’t perform that action at this time.
0 commit comments