Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation to make targets #276

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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