mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add bump_versions.py script (#338)
* Add bump_versions.py script * Fix pipeline
This commit is contained in:
parent
e4198fb1f2
commit
28382ebf5f
10 changed files with 763 additions and 157 deletions
12
Makefile
12
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue