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
Memcache connection pool excess check

When memcache pool depletes exceeding connections are created.
Then they are pushed back the to pool via a blocking operation ``put``.
As a result thread, attempting to release connection, blocks.

This patch adds a check preventing pushung the excess back to the pool,
closing released connection instead.

Change-Id: I17756fb5f27cb6a950c647590e2a9e0a83c336ca
Closes-Bug: #1401108
Closes-Bug: #1400326
Make the mutable default arg check very strict

Previously we were only checking for mutable literals. This adds checks
for any callable, which would include dict(), list(), etc.

Change-Id: I12e09f53cd00139549354906f3f4c08f689ff3e2
Expanded mutable hacking checks

Now that we don't need to support Python 2.6 we can easily add support
for sets, dict comprehensions and set comprehensions.

Change-Id: I7c25fbe4d3b42b2810034c7b30d6cc1beaea822b
Implements: bp remove-py26-hacks
Use bashate to run_tests.sh

Change-Id: I542cae190845cbb98c030423aa6e2a747dc07263
Be more precise with flake8 filename matches

In upcoming patchsets I'll be introducing filenames that include
"keystone-" as part of the name. These filenames should not be checked
with flake8 because they do not contain Python code.

bp functional-testing

Change-Id: I8330f0dca0d6c1db601ddecd71c6c92cef260c99
Merge "Use bashate to run_tests.sh"
Merge "Be more precise with flake8 filename matches"
Merge "Memcache connection pool excess check"
rename oslo.concurrency to oslo_concurrency

oslo.concurrency-0.3.0 has moved its path to oslo_concurrency,
the old path oslo.concurrency can still work but is deprecated now.

Change-Id: I86629a81d55d88b67cdf0639dc9995887b516cca
Closes-Bug: #1398656
Merge "Make the mutable default arg check very strict"
Merge "Expanded mutable hacking checks"
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"
Merge "rename oslo.concurrency to oslo_concurrency"
fix wrong self link in the response of endpoint_groups API

OS-EP-FILTER prefix is missing in the url.

Change-Id: I0955c4cda1f8ced58517b317b47877e02eb1e5d8
Closes-Bug: #1404819