Enforce pep8/pyflakes rule on python codes

This change makes sure that we apply pyflake8 checks on all python
codes to improve its readability.

Note that there are some rules applied for other OpenStack projects,
but not yet turned on, which should be enabled in the future.

Change-Id: Iaf0299983d3a3fe48e3beb8f47bd33c21deb4972
This commit is contained in:
Takashi Kajinami
2019-08-29 20:49:40 +09:00
parent 9b88629d63
commit f47dfe1059
17 changed files with 412 additions and 321 deletions

View File

@@ -42,6 +42,7 @@ def parse_opts(argv):
return opts
opts = parse_opts(sys.argv)
roles = collections.OrderedDict.fromkeys(opts.roles)