X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=d5bc8c5726c822ab89ef4e3dbd8ee1ee74cd046a;hb=af8390f0f9cbd43cdadfa9e274f71edc18ad525a;hp=bea08b276c447936f5b66157da9a4e507ceae4e5;hpb=068ba562ff00b033dd43ed80979dcb5b9cd369b5;p=grml-x.git diff --git a/Makefile b/Makefile index bea08b2..d5bc8c5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: doc +all: doc codecheck doc: doc_man doc_html @@ -19,7 +19,7 @@ man-stamp: grml-x.txt cp grml-x.1 grml-x.1.tmp uniq grml-x.1.tmp > grml-x.1 # ugly hack to avoid '.sp' at the end of a sentence or paragraph: - sed -i 's/\.sp$//' grml-x.1 + sed -i 's/\.sp//' grml-x.1 rm grml-x.1.tmp touch man-stamp @@ -28,3 +28,8 @@ online: doc clean: rm -rf grml-x.html grml-x.1 grml-x.xml html-stamp man-stamp + +codecheck: + flake8 grml-x + isort --check-only grml-x + black --check grml-x