Migrate to hatchling instead of poetry, ruff instead of flake8

This commit is contained in:
Alex Root Junior 2023-01-08 21:33:20 +02:00
parent 04ccb390d5
commit c62a450253
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
48 changed files with 452 additions and 2772 deletions

View file

@ -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