Use pre-commit for CI style checks

Have a single, uniform definition everywhere.
This commit is contained in:
Hugo Osvaldo Barrera 2020-06-09 10:28:28 +02:00
parent 53331fedee
commit 50eefa1816

View file

@ -88,10 +88,10 @@ install-test-storage: install-test
true
install-style: install-docs install-dev
pip install -U flake8 flake8-import-order flake8-bugbear
pip install pre-commit
style:
flake8
pre-commit run --all
! git grep -i syncroniz */*
! git grep -i 'text/icalendar' */*
sphinx-build -W -b html ./docs/ ./docs/_build/html/