2016-08-02 20:19:52 +03:00
|
|
|
|
|
|
|
lint:
|
|
|
|
pylint --rcfile=./.pylintrc ./platformio
|
|
|
|
|
|
|
|
isort:
|
|
|
|
isort -rc ./platformio
|
2016-08-03 23:38:20 +03:00
|
|
|
isort -rc ./tests
|
|
|
|
|
|
|
|
yapf:
|
|
|
|
yapf --recursive --in-place platformio/
|
|
|
|
|
2017-12-27 21:36:45 +02:00
|
|
|
test:
|
2018-01-13 01:19:41 +02:00
|
|
|
py.test -v -s -n 3 --dist=loadscope tests --ignore tests/test_examples.py --ignore tests/test_pkgmanifest.py
|
2017-12-27 21:36:45 +02:00
|
|
|
|
|
|
|
before-commit: isort yapf lint test
|
2016-08-02 20:19:52 +03:00
|
|
|
|
2016-08-03 22:01:11 +03:00
|
|
|
clean-docs:
|
|
|
|
rm -rf docs/_build
|
|
|
|
|
|
|
|
clean: clean-docs
|
|
|
|
find . -name \*.pyc -delete
|
|
|
|
find . -name __pycache__ -delete
|
|
|
|
rm -rf .cache
|
|
|
|
rm -rf build
|
|
|
|
rm -rf htmlcov
|
|
|
|
rm -f .coverage
|