Following the upgrade to hacking version 0.10.0 the H105 issues were
ignored. There was a note left in tox.ini to clean up the H105 issues
and to re-enable the check.
Updated tox.ini to re-enable the check of H105 and fixed corresponding
pep8 issues. This way Cinder aligns rows with Nova, Neutron, Glance etc
that have H105 enabled.
Closes-Bug:
1531104
Change-Id: I2da70cbeb838f16ec8479284dda9d7c62566dace
.. automodule:: cinder
:platform: Unix
:synopsis: Infrastructure-as-a-Service Cloud platform.
-.. moduleauthor:: Jesse Andrews <jesse@ansolabs.com>
-.. moduleauthor:: Devin Carlen <devin.carlen@gmail.com>
-.. moduleauthor:: Vishvananda Ishaya <vishvananda@gmail.com>
-.. moduleauthor:: Joshua McKenty <joshua@cognition.ca>
-.. moduleauthor:: Manish Singh <yosh@gimp.org>
-.. moduleauthor:: Andy Smith <andy@anarkystic.com>
"""
.. automodule:: cinder.scheduler
:platform: Unix
:synopsis: Module that picks a volume node to create a volume.
-.. moduleauthor:: Sandy Walsh <sandy.walsh@rackspace.com>
-.. moduleauthor:: Ed Leafe <ed@leafe.com>
-.. moduleauthor:: Chris Behrens <cbehrens@codestud.com>
"""
.. automodule:: cinder.tests.unit
:platform: Unix
-.. moduleauthor:: Jesse Andrews <jesse@ansolabs.com>
-.. moduleauthor:: Devin Carlen <devin.carlen@gmail.com>
-.. moduleauthor:: Vishvananda Ishaya <vishvananda@gmail.com>
-.. moduleauthor:: Joshua McKenty <joshua@cognition.ca>
-.. moduleauthor:: Manish Singh <yosh@gimp.org>
-.. moduleauthor:: Andy Smith <andy@anarkystic.com>
"""
import eventlet
#
# E251 unexpected spaces around keyword / parameter equals
# reason: no improvement in readability
-#
-# Due to the upgrade to hacking 0.9.2 the following checking are
-# ignored on purpose for the moment and should be re-enabled.
-#
-# H405
-# Due to the upgrade to hacking 0.10.0 the following checking are
-# ignored on purpose for the moment and should be cleaned up and re-enabled.
-#
-# H105 Don't use author tags
-#
-
-ignore = E251,H105
+ignore = E251
exclude = .git,.venv,.tox,dist,tools,doc,common,*egg,build
max-complexity=30