s-celles / APC

APC power switch automation
MIT License
30 stars 9 forks source link

PEP8 #5

Closed s-celles closed 6 years ago

s-celles commented 6 years ago

Recent Travis build shows PEP8 error see https://travis-ci.org/scls19fr/APC/builds/337234965

0.28s$ flake8 --version
3.5.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 2.7.14 on Linux
The command "flake8 --version" exited with 0.
0.76s$ flake8
./apc/lockfile.py:24:1: E722 do not use bare except'
./apc/lockfile.py:64:9: E722 do not use bare except'
./apc/lockfile.py:200:5: E741 ambiguous variable name 'l'
./apc/utility.py:139:13: E722 do not use bare except'
./build/lib/apc/lockfile.py:24:1: E722 do not use bare except'
./build/lib/apc/lockfile.py:64:9: E722 do not use bare except'
./build/lib/apc/lockfile.py:200:5: E741 ambiguous variable name 'l'
./build/lib/apc/utility.py:139:13: E722 do not use bare except'
The command "flake8" exited with 1.