summaryrefslogtreecommitdiff
path: root/saharaclient/api/plugins.py
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-03-31 09:22:22 +0200
committerLuigi Toscano <ltoscano@redhat.com>2020-04-07 14:50:41 +0200
commitcca4f4d0c8a33a776e17413f5fda94c088b6a233 (patch)
treee33430fb11567d00ed579c4859604a849884db79 /saharaclient/api/plugins.py
parent3cf5de75c19a998ffd1e264ae1380d99c833e752 (diff)
downloadpython-saharaclient-cca4f4d0c8a33a776e17413f5fda94c088b6a233.tar.gz
Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Update local hacking checks for new flake8. Note: The repo has been using an uncapped requirements, so was testing with hacking 2.0 which disabled the old way of local testing integration. Remove S367 and S368 since they are not working under python3 "NOTE(Kezar): This checks a good enough if we have only py2.7 supported. As soon as we'll get py3.x we need to drop it or rewrite. You can read more about it in dev-list archive, topic: "[hacking]proposed rules drop for 1.0" Also, hacking now has H304 and H306 which test exactly the same. Remove hacking and friends from lower-constraints, it's not needed there. Change-Id: If60682fb328359ef73dee8f2d89d51410a376677
Diffstat (limited to 'saharaclient/api/plugins.py')
-rw-r--r--saharaclient/api/plugins.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/saharaclient/api/plugins.py b/saharaclient/api/plugins.py
index 944bdd8..fe7d488 100644
--- a/saharaclient/api/plugins.py
+++ b/saharaclient/api/plugins.py
@@ -87,5 +87,6 @@ class PluginManagerV2(_PluginManager):
return self._get('/plugins/%s/%s' % (plugin_name, plugin_version),
'plugin')
+
# NOTE(jfreud): keep this around for backwards compatibility
PluginManager = PluginManagerV1