Skip to content

Commit

Permalink
poetry: add dev group
Browse files Browse the repository at this point in the history
  • Loading branch information
remortalite committed Jun 30, 2024
1 parent 65731a2 commit 514c286
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 84 deletions.
29 changes: 16 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
install:
poetry install

lint:
poetry run flake8 gendiff

test-coverage:
poetry run pytest --cov=gendiff --cov-report xml

show-coverage:
poetry run pytest --cov=gendiff --cov-report term-missing

test:
poetry run pytest

publish:
poetry publish --dry-run

Expand All @@ -22,5 +10,20 @@ package-install:
gendiff:
poetry run gendiff

# Dev
dev:
poetry install --with dev

lint: dev
poetry run flake8 gendiff

test-coverage: dev
poetry run pytest --cov=gendiff --cov-report xml

show-coverage: dev
poetry run pytest --cov=gendiff --cov-report term-missing

test: dev
poetry run pytest

.PHONY: install lint test publish gendiff
.PHONY: install lint test publish gendiff dev
Loading

0 comments on commit 514c286

Please sign in to comment.