Correct use of noqa

Use of "flake8: noqa" disabled hacking checks for the entire file.
Files should use "noqa" instead because that disables hacking checks
only for the line.

This fixes an inappropriate use of "flake8: noqa" and the hacking
issues that were masked.

Change-Id: I7c5b0b9dc4aab7e2129c0886afda0d07dba09afe
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ied74af9e9d7c0ae820ebe76db8e06c73a19a5c46
Merge "Correct use of noqa"