Switch from pyflakes, pylint + pep8 to flake8, isort + black,
and include it in the default build target to get checks during
build time. Add relevant packages to Build-Depends.
Thanks: Florian Apolloner for the feedback
rm -rf html-stamp man-stamp grml2usb.tar.gz grml2usb.tgz grml2usb.tgz.md5.asc
codecheck:
rm -rf html-stamp man-stamp grml2usb.tar.gz grml2usb.tgz grml2usb.tgz.md5.asc
codecheck:
- pyflakes grml2usb
- pylint --include-ids=y --max-line-length=120 grml2usb
- # pylint --include-ids=y --disable-msg-cat=C0301 --disable-msg-cat=W0511 grml2usb
- # pylint --reports=n --include-ids=y --disable-msg-cat=C0301 grml2usb
- pep8 --repeat --ignore E125,E126,E127,E128,E501 grml2usb
+ flake8 grml2usb
+ isort --check-only grml2usb
+ black --check grml2usb
# graph:
# sudo pycallgraph grml2usb /grml/isos/grml-small_2008.11.iso /dev/sdb1
# graph:
# sudo pycallgraph grml2usb /grml/isos/grml-small_2008.11.iso /dev/sdb1
Christian Hofstaedtler <zeha@debian.org>,
Ulrich Dangel <mru@spamt.net>
Build-Depends: asciidoc,
Christian Hofstaedtler <zeha@debian.org>,
Ulrich Dangel <mru@spamt.net>
Build-Depends: asciidoc,
debhelper-compat (= 12),
docbook-xsl,
debhelper-compat (= 12),
docbook-xsl,
+ flake8,
+ isort,
+ xsltproc,
Standards-Version: 4.4.1
Homepage: https://grml.org/grml2usb/
Vcs-git: git://git.grml.org/grml2usb.git
Standards-Version: 4.4.1
Homepage: https://grml.org/grml2usb/
Vcs-git: git://git.grml.org/grml2usb.git
--- /dev/null
+[flake8]
+ignore = E203, E501, W503