32 lines
370 B
Makefile
32 lines
370 B
Makefile
all: test
|
|
|
|
test: lint pytest
|
|
|
|
lint: black flake8 pylint isort mypy
|
|
|
|
black-check:
|
|
black --check opdb/
|
|
|
|
black:
|
|
black opdb/
|
|
|
|
flake8: black
|
|
flake8 opdb/
|
|
|
|
pylint:
|
|
pylint opdb/
|
|
|
|
isort-check:
|
|
isort --check-only opdb/
|
|
|
|
isort:
|
|
isort opdb/
|
|
|
|
mypy:
|
|
mypy --show-error-codes opdb
|
|
|
|
pytest:
|
|
pytest --doctest-modules
|
|
|
|
.PHONY: black black-check isort isort-check mypy pytest test
|