Python 2 is no longer supported, thus usage of six can be removed.
Also, This removes B314 test from documentation because its actual
implementation was already removed[1].
[1] 9dbeefb55eb55a9baa481ec6d6293527d46e04a5
Change-Id: Ib01714e6462470dd5c3f6f06b52a3afeff573696
The B319 check to ensure no use of xrange is not an issue in a Python
3-only codebase, while the unittest assert-focused B311, B312 and B321
checks duplicate H203, H204 and H203 (again) from hacking respectively.
An unnecessary 'py3pep8' tox environment is removed since the standard
'pep8' environment uses Python 3 now.
Change-Id: I8eb8c6accd1c2f2c7851a08b372235699a971ad9
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found by updated hacking version.
Update local hacking checks for new flake8, remove
test B314 since that tests difference between Python 2 and 3,
there's no need to advise using six anymore.
Use oslotest.base directly, this fixes the hacking tests.
Remove ddt usage in testsuite, it does not work with current hacking
version anymore.
Change-Id: Iee4584c6fde08728c017468d9de1db73f2c79d8d
Add hacking check to ensure we use proper rules and follow
community guideline [1].
[1] http://docs.openstack.org/developer/hacking/
Change-Id: I61e366969385aa044aea9d9678fbc91d32325497