Introduce flake8 checking - #58

This introduces flake8 and fixes a bunch of flake8 errors.

flake8 is run with: ./venv/bin/flake8 plinth
if you're using a python3 venv.

We can eventually further integrate this with gitlab ci.

https://salsa.debian.org/freedombox-team/plinth/issues/58

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Nikolas Nyby authored and Sunil Mohan Adapa committed 2019-07-24 14:01:54 -07:00
1 parent d2e987ef3c
commit ace339eabf
16 files changed
+26 -25

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ Build-Depends:
python3-django-axes (>= 3.0.3),
python3-django-captcha,
python3-django-stronghold (>= 0.3.0),
python3-flake8,
python3-gi,
python3-paramiko,
python3-psutil,