nfv/nfv/nfv-plugins
Al Bailey 5539db9dcf Convert pep8 to flake8 for stx-nfv
Flake8 and Hacking offer stricter style checks than pep8.

This submission fixes these codes:
 E305 expected 2 blank lines after class or function definition, found 1
 E722 do not use bare except'
 F841 local variable 'blah' is assigned to but never used
 H101: Use TODO(NAME)
 H201: no 'except:' at least use 'except Exception:'
 H237: module commands is removed in Python 3
 H238: old style class declaration, use new style(inherit from `object`)

This submission enables 2 additional checks that are off by default
 H106 vim config in files
 H203 Use assertIs(Not)None to check for None

8 hacking codes and 2 flake8 types were added to the ignore list
and will be fixed by later updates.

An optional hacking code H904 will be enabled and the code fixed
by a later commit

Story: 2003499
Task: 26195
Change-Id: I48f99fc0dd41addc574c81cee6662600faeb8e75
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2018-09-05 17:10:22 -05:00
..
nfv_plugins Convert pep8 to flake8 for stx-nfv 2018-09-05 17:10:22 -05:00
scripts Fix Logrotate rules for VIM 2018-06-19 10:24:51 -05:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:51 -07:00
setup.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00