DzmitrySha/python-project-lvl2

View on GitHub
Makefile

Summary

Maintainability
Test Coverage
install: 
    poetry install

publish:
    poetry publish --dry-run

package-install:
    python3 -m pip install --user dist/*.whl

package-uninstall:
    python3 -m pip uninstall --yes dist/*.whl

test:
    poetry run pytest

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

lint:
    poetry run flake8 gendiff

selfcheck:
    poetry check

check: selfcheck test lint

build: check
    poetry build

.PHONY: install test lint selfcheck check build