Skip to content

Commit

Permalink
fix: make target
Browse files Browse the repository at this point in the history
  • Loading branch information
Nr18 committed Jun 21, 2023
1 parent abc504f commit a7c9f8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ SHELL = /bin/bash -c
VIRTUAL_ENV = $(shell poetry env info --path)
export BASH_ENV=$(VIRTUAL_ENV)/bin/activate

.PHONY: lint test install clean run build release complexity-baseline
.PHONY: lint test install clean run build release complexity

lint: _black _mypy

test: lint complexity-baseline
test: lint complexity
pytest --cov --mypy --cov-report term-missing --junitxml=reports/pytest.xml --cov-report xml:reports/coverage.xml

install: $(VIRTUAL_ENV)
Expand All @@ -27,7 +27,7 @@ build:
release: build
twine upload dist/*

complexity-baseline:
complexity:
$(info Maintenability index)
radon mi --min A --max A --show --sort pull_request_codecommit
$(info Cyclomatic complexity index)
Expand Down

0 comments on commit a7c9f8e

Please sign in to comment.