Use public interfaces of pep8 for hacking
Use public interfaces of pep8 for hacking

Rather than using mock and pep8 internals, we can use
public interfaces of pep8 to register our custom
hacking checks. Further, if pep8 isn't present for testing purposes,
we can simply use pycodestyle. Many distributions are shipping the
latter these days instead of pep8.

Closes-Bug: 1652458

Co-Authored-By: Ian Cordasco <cd1c2139308d6ba2ef5c50028ba60642520383c3@gmail.com>
Change-Id: Ica719703c54a295d10ea800467b25a5d0f65348a
Signed-off-by: Adam Williamson <9343557fe728326ecca60ea600eccabb6754179b@redhat.com>

mahak/keystone,mahak/keystone,openstack/keystone,ilay09/keystone,ilay09/keystone,openstack/keystone,ilay09/keystone,mahak/keystone,rajalokan/keystone,rajalokan/keystone,openstack/keystone,rajalokan/keystone