nfv/nfv
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
..
centos Merge "Fix Logrotate rules for VIM" 2018-06-19 16:24:39 +00:00
nfv-client Python 3 compatibility: use print as a function. 2018-08-30 14:12:10 +08:00
nfv-common Cleanup several pep8 warnings 2018-09-05 11:45:07 -05:00
nfv-debug-tools/histogram_analysis Convert pep8 to flake8 for stx-nfv 2018-09-05 17:10:22 -05:00
nfv-docs Python 3 compatibility: use print as a function. 2018-08-30 14:12:10 +08:00
nfv-plugins Convert pep8 to flake8 for stx-nfv 2018-09-05 17:10:22 -05:00
nfv-tests Convert pep8 to flake8 for stx-nfv 2018-09-05 17:10:22 -05:00
nfv-tools Python 3 compatibility: use print as a function. 2018-08-30 14:12:10 +08:00
nfv-vim Python 3 compatibility: use print as a function. 2018-08-30 14:12:10 +08:00
.gitignore StarlingX open source release updates 2018-05-31 07:36:51 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:51 -07:00