1234567891011121314151617 |
- #!/bin/sh
- if ! git diff --quiet --exit-code; then
- git status
- echo
- echo unstaged changes
- exit 1
- fi
- set -ex
- pipenv clean
- pipenv sync --dev
- pipenv run black --check
- pipenv run pylint yamily tests/*
- pipenv run pytest --cov=yamily --cov-report=term-missing --cov-fail-under=100
- pipenv run python -m doctest README.md
|