* Add shared python format-check target * Add .format-check to api lint target * Format api code with makefile format target * Add .format-check to tools lint target * Add .format-check to analyzer lint target * Format analyzer code with makefile format target * Add .format-check to celery lint target * Add .format-check to api_client lint target * Format api_client code with makefile format target * Add .format-check to playout lint target * Run CI linting in parallel * Disable isort in pre-commit
13 lines
251 B
Makefile
13 lines
251 B
Makefile
all: lint test
|
|
|
|
include ../tools/python.mk
|
|
|
|
PIP_INSTALL := --editable .
|
|
PYLINT_ARG := api_clients tests
|
|
MYPY_ARG := api_clients tests
|
|
PYTEST_ARG := --cov=api_clients tests
|
|
|
|
format: .format
|
|
lint: .format-check .pylint .mypy
|
|
test: .pytest
|
|
clean: .clean
|