Add bump_versions.py script (#338)

* Add bump_versions.py script
* Fix pipeline
This commit is contained in:
Alex Root Junior 2020-05-27 01:24:06 +03:00 committed by GitHub
parent e4198fb1f2
commit 28382ebf5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 763 additions and 157 deletions

View file

@ -76,12 +76,14 @@ isort:
black:
$(py) black aiogram tests
.PHONY: flake8
flake8:
$(py) flake8 aiogram test
$(py) flake8 aiogram
.PHONY: flake8-report
flake8-report:
mkdir -p $(reports_dir)/flake8
$(py) flake8 --format=html --htmldir=$(reports_dir)/flake8 aiogram test
$(py) flake8 --format=html --htmldir=$(reports_dir)/flake8 aiogram
.PHONY: mypy
mypy:
@ -142,3 +144,9 @@ build: clean flake8-report mypy-report test-coverage docs docs-copy-reports
mkdir -p site/simple
poetry build
mv dist site/simple/aiogram
.PHONY: bump
bump:
poetry version $(args)
$(python) scripts/bump_versions.py