Skip to content

Commit

Permalink
Add documentation to make targets
Browse files Browse the repository at this point in the history
  • Loading branch information
pehala committed Nov 13, 2023
1 parent 65eccb6 commit 809787b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ ifdef html
PYTEST += --html=$(resultsdir)/report-$(@F).html
endif

commit-acceptance: black pylint mypy all-is-package
commit-acceptance: black pylint mypy all-is-package ## Runs pre-commit linting checks

pylint mypy: poetry
poetry run $@ $(flags) testsuite

black: poetry
poetry run black --check testsuite --diff

reformat: poetry
reformat: poetry ## Reformats testsuite with black
poetry run black testsuite

all-is-package:
Expand Down Expand Up @@ -67,9 +67,9 @@ poetry.lock: pyproject.toml
@ touch .make-poetry-sync-no-dev


poetry: .make-poetry-sync
poetry: .make-poetry-sync ## Installs poetry with all dependencies

poetry-no-dev: .make-poetry-sync-no-dev
poetry-no-dev: .make-poetry-sync-no-dev ## Installs poetry without development dependencies

# Check http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
help: ## Print this help
Expand Down

0 comments on commit 809787b

Please sign in to comment.