Skip to content
Closed
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
13 changes: 7 additions & 6 deletions {{cookiecutter.project_name}}/Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
SHELL := /usr/bin/env bash
POETRY ?= poetry

.PHONY: lint
lint:
poetry run ruff check --exit-non-zero-on-fix
poetry run ruff format --check --diff
poetry run flake8 .
poetry run mypy .
$(POETRY) run ruff check --exit-non-zero-on-fix
$(POETRY) run ruff format --check --diff
$(POETRY) run flake8 .
$(POETRY) run mypy .

.PHONY: unit
unit:
poetry run pytest
$(POETRY) run pytest

.PHONY: package
package:
poetry run pip check
$(POETRY) run pip check

.PHONY: test
test: lint package unit