mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Migrate to hatchling instead of poetry, ruff instead of flake8
This commit is contained in:
parent
04ccb390d5
commit
c62a450253
48 changed files with 452 additions and 2772 deletions
13
Makefile
13
Makefile
|
|
@ -68,16 +68,15 @@ clean:
|
|||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
$(py) isort --check-only $(code_dir)
|
||||
$(py) black --check --diff $(code_dir)
|
||||
$(py) flake8 $(code_dir)
|
||||
$(py) mypy $(package_dir)
|
||||
# TODO: wemake-python-styleguide
|
||||
isort --check-only $(code_dir)
|
||||
black --check --diff $(code_dir)
|
||||
ruff $(code_dir)
|
||||
mypy $(package_dir)
|
||||
|
||||
.PHONY: reformat
|
||||
reformat:
|
||||
$(py) black $(code_dir)
|
||||
$(py) isort $(code_dir)
|
||||
black $(code_dir)
|
||||
isort $(code_dir)
|
||||
|
||||
# =================================================================================================
|
||||
# Tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue