pre-commit linting (#259)

* pre-commit linting

* fix pydocs
This commit is contained in:
Henning Jacobs
2020-04-25 21:01:21 +02:00
committed by GitHub
parent b409e4f375
commit 76a498bacc
23 changed files with 567 additions and 335 deletions

View File

@@ -14,10 +14,11 @@ install:
clean:
rm -fr kube_ops_view/static/build
test: install
poetry run flake8
poetry run black --check kube_ops_view
# poetry run mypy --ignore-missing-imports kube_ops_view
.PHONY: lint
lint: install
poetry run pre-commit run --all-files
test: lint install
poetry run coverage run --source=kube_ops_view -m py.test -v
poetry run coverage report