hacking 3.0.x is too old.
Also remove the note about pip's behavior which was already fixed in
recent versions.
Change-Id: I65d350943649c3346ed5741631c01724ddd256ef
Remove six.moves Replace the following items with Python 3 style code.
- six.moves.urllib
- six.moves.queue
- six.moves.range
- six.moves.http_client
Subsequent patches will replace other six usages.
Change-Id: I80c713546fcc97391c64e95ef708830632e1ef32
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Update local hacking checks for new flake8.
Remove hacking and friends from lower-constraints, they are not
needed in installations.
Change-Id: Ia4740a1dc343d7a4a303674d9377bc64f6df762b
* Fix the pep8 commands failed and Enable H904 checks in tox.ini.
* Hacking M331 still has Bug and remove it from HACKING, use H904 instead.
Change-Id: Iaf692bc139b309376917832aaa749cc141c11275
Since we have added H203 in tox.ini [1], the local Hacking for M318
can be removed.
[1] https://review.openstack.org/#/c/484089/
Change-Id: Ieb652a41b77effdd8a67ea619ab592b1b065aec5
Added following style checks:
* Enforce use of assertTrue/assertFalse
* Enforce use of assertIs/assertIsNot
Change-Id: Ic4bc964fef9ea78934937dc74017569c2a55ba44
Implements: blueprint mistral-hacking
The following style checks are added:
* do not use dict.iteritems
* do not use dict.iterkeys
* do not use dict.itervalues
Partial_implements: blueprint mistral-hacking
Change-Id: I25d846c80652d7746c3b958239797ce524ec235f
The following check is added in this commit:
* hacking checks for xrange()
Change-Id: If7bd8759445e5ca8cd5f4e74d91dcd02fa267904
Partial-Implements: blueprint mistral-hacking
The following checks is added in this commit:
* enforce assertIsNone instead of assertEqual with a None
Change-Id: Idc7c5cb53060dad544bb9b8659e7220b7cd41e56
Partial-Implements: blueprint mistral-hacking
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names, and adds a hacking
check to prevent regressions.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: I7137e7199f1cd6cdeacbc6c421d294f596e2ec0e