2022-09-17 21:35:48 +00:00
|
|
|
all: test
|
|
|
|
|
|
|
|
test: lint pytest
|
|
|
|
|
|
|
|
lint: black flake8 pylint isort mypy
|
|
|
|
|
2022-09-14 16:33:41 +00:00
|
|
|
black-check:
|
|
|
|
black --check opdb/
|
|
|
|
|
|
|
|
black:
|
|
|
|
black opdb/
|
|
|
|
|
|
|
|
flake8:
|
|
|
|
flake8 opdb/
|
|
|
|
|
2022-09-17 21:35:48 +00:00
|
|
|
pylint:
|
|
|
|
pylint opdb/
|
|
|
|
|
|
|
|
isort-check:
|
|
|
|
isort --check-only opdb/
|
|
|
|
|
|
|
|
isort:
|
|
|
|
isort opdb/
|
|
|
|
|
2022-09-14 16:33:41 +00:00
|
|
|
mypy:
|
2022-09-17 21:35:48 +00:00
|
|
|
mypy --show-error-codes opdb
|
2022-09-14 16:33:41 +00:00
|
|
|
|
|
|
|
pytest:
|
|
|
|
pytest
|
|
|
|
|
2022-09-17 21:35:48 +00:00
|
|
|
.PHONY: black black-check isort isort-check mypy pytest test
|