From 50eefa18163857315f0d42be44d8c051cf3a0cc1 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Tue, 9 Jun 2020 10:28:28 +0200 Subject: [PATCH] Use pre-commit for CI style checks Have a single, uniform definition everywhere. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 27bbb63..2141017 100644 --- a/Makefile +++ b/Makefile @@ -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/