mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-07-29 19:18:54 +00:00
0e9a8baeb2
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.
28 lines
343 B
Makefile
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
|