Skip to content

Commit

Permalink
Add $(args)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakimka committed Sep 6, 2023
1 parent 31f50e6 commit 11521c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions {{cookiecutter.project_name}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ lint: ## Run flake8, mypy, other linters and verify formatting

.PHONY: mypy
mypy: ## Run mypy
$(RUN) poetry run mypy
$(RUN) poetry run mypy $(args)

.PHONY: test
test: ## Run tests
$(RUN) poetry run pytest --cov=tests --cov={{cookiecutter.module_name}}
$(RUN) poetry run pytest --cov=tests --cov={{cookiecutter.module_name}} $(args)
$(RUN) poetry run pytest --dead-fixtures

.PHONY: package
Expand All @@ -42,7 +42,7 @@ package: ## Run packages (dependencies) checks

.PHONY: build-package
build-package: ## Build package
$(RUN) poetry build
$(RUN) poetry build $(args)
$(RUN) poetry export --format=requirements.txt --output=dist/requirements.txt

.PHONY: checks
Expand All @@ -67,7 +67,7 @@ clean-all: ## Clean up all

.PHONY: bash
bash: ## Run bash
$(RUN) bash
$(RUN) bash $(args)

.PHONY: help
help:
Expand Down

0 comments on commit 11521c6

Please sign in to comment.