Files
fastapi-cache/Makefile
Martijn Pieters 0e9a8baeb2 Add tox configuration
Tox manages test environments for all supported Python versions, as
well as linting and formatting tools. On GitHub, the test and lint
steps are kept as close as possible to the Makefile equivalents.
2023-05-16 10:49:17 +01:00

28 lines
343 B
Makefile

up:
@poetry update
deps:
@poetry install --no-root --with=linting --all-extras
format: deps
@poetry run tox run -e format
lint: deps
@poetry run tox run -e lint
test: deps
@poetry run tox
test-parallel: deps
@poetry run tox run-parallel
build: clean deps
@poetry build
clean:
@rm -rf ./dist
# aliases
check: lint
style: format