PEP8: Don't force name in TODO
The Cinder team decided a while ago to not require a name in TODO
comments, since they don't provide additional value.
This patch removes this requirement from the flake8 configuration, so
now we no longer should add TODO comments as:
# TODO(geguileo): Improve this
But instead do naked TODO:
# TODO: Improve this
Change-Id: Iefa41fb72b3ddca14cc905cc4fb41acd215c47a8
This commit is contained in:
4
tox.ini
4
tox.ini
@@ -109,9 +109,11 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
||||
# reason: no agreement on this being universally
|
||||
# preferable for our code. Disabled to keep checking
|
||||
# tools from getting in our way with regards to this.
|
||||
# H101 include name with TODO
|
||||
# reason: no real benefit
|
||||
#
|
||||
show-source = True
|
||||
ignore = E251,W503,W504
|
||||
ignore = E251,W503,W504,H101
|
||||
enable-extensions=H106,H203,H204,H205
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
||||
|
||||
Reference in New Issue
Block a user