Commit 07821613 authored by Guido Gunther's avatar Guido Gunther

Check python files

This catches errors early.
parent be3d68fc
......@@ -11,7 +11,7 @@ build:docs:
- apt-get -y update
- apt-get -y install org-mode build-essential
script:
- make
- make README.html
artifacts:
paths:
- '*.html'
......
......@@ -4,7 +4,10 @@ DOCS=\
README.html \
$(NULL)
all: $(DOCS)
all: $(DOCS) check
check:
flake8
%.html: %.org
emacs --batch -nw $< -f org-html-export-to-html --kill
......
......@@ -4,6 +4,7 @@ Priority: optional
Maintainer: Guido Günther <agx@sigxcpu.org>
Build-Depends:
debhelper (>= 11),
flake8,
Standards-Version: 4.1.3
Homepage: https://code.puri.sm/guido.gunther/phosh
......
[flake8]
# E501: ignore line length
# E265: block comment should start with '# '
ignore=E501
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment