4f318bc253
This patch updates our hacking checks as follows: - Hacking checks are now registered via entry points so they can be used via flake8 CLI. By default they are disabled. Hacking check doc string is also updated to support pep8 parsing of check code. - The existing hacking.checks.factory() is moved to a more meaningful name; marking as deprecated. - A private neutron-lib specific hacking check factory is provided and used in tox.ini. - A flake8 plugin is provided that supports the ability to use our hacking check factory functions to enable a pre-existing check by default. - Our usage of hacking checks is updated to reflect our consumption model for adopters. - Unit tests are provided. Change-Id: I88dad7f7cce4d4f5af679272f067c3bb4a73803a
18 lines
594 B
Plaintext
18 lines
594 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
|
|
hacking<0.12,>=0.11.0 # Apache-2.0
|
|
|
|
coverage>=3.6 # Apache-2.0
|
|
python-subunit>=0.0.18 # Apache-2.0/BSD
|
|
sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
|
|
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
|
|
oslotest>=1.10.0 # Apache-2.0
|
|
os-api-ref>=0.1.0 # Apache-2.0
|
|
os-testr>=0.7.0 # Apache-2.0
|
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
|
testscenarios>=0.4 # Apache-2.0/BSD
|
|
testtools>=1.4.0 # MIT
|
|
pep8==1.5.7 # MIT
|