Commit Graph

10 Commits

Author SHA1 Message Date
Stephen Finucane a36f514295 Blackify everything else
Black used with the '-l 79 -S' flags.

A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.

Change-Id: Ie106a5cec8831e113a2b764b62b712a205e3153b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-05 11:31:36 +01:00
Stephen Finucane 88d8d53d46 coe: Add support for clusters
This allows us to start migrating the coe cloud layer to this newly
introduced proxy layer.

Change-Id: Ia9c622dc284234bb618c2caf3d035097bba58ec5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-11-25 19:06:17 +01:00
Monty Taylor 0c5ae59025 Stop subclassing object
This wasn't actually even needed in python2.7, but habits die hard.

Change-Id: I20f282d285506b1f1dde01be6cde0c0e8c7883c8
2020-05-10 08:29:41 -05:00
Monty Taylor fe00460b99 Remove uses of from six.moves
We're python3 now. While we're at it, fix six.StringIO to
io.StringIO (it matched the from six grep) and reorder imports
where we're touching them anyway.

Change-Id: I02c348d497bac4cb671ce1d9e8d11274b0ee8573
2020-05-10 08:23:40 -05:00
Sean McGinnis 8ca613e43f Raise hacking to 2.x
We have kept hacking capped below 1.2 for quite awhile. Newer versions
of hacking pull in updated linters that have some good checks.

We want to limit the maximum version of hacking installed since the
global upper constraints does not do this for linters. Otherwise when a
new release of hacking is available in the future, stable branches may
suddenly be broken.

Change-Id: I0e0ee8a169ae93f7efb2cda2b1d2458c1d49e46b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-29 11:07:34 -05:00
Monty Taylor c9fba05bf6 Use generated list of services instead of metaclass
The metaclass makes it pretty impossible to do type annotations on
anything. Turn the metaclass into a utility script and then generate
the list of mappings.

Change-Id: Iccd5ee34e364cd6f53c0a8934e20442c022844e8
2019-10-04 11:05:21 +02:00
brandonzhao ff917980a6 Fix the conflict of urlparse between python2 and python3
Change-Id: I9f44ac8bb475da7cfd3ad9d593fdb7a84e5d1395
2018-10-31 17:00:42 +08:00
Andreas Jaeger 58bafb63e1 Avoid tox_install.sh for constraints support
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.

This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.

Change-Id: I9ee471b253ec104d2b93829be3644ce7aef06876
2017-12-01 08:58:30 +01:00
Monty Taylor 535f2f48ff
Merge shade and os-client-config into the tree
This sucks in the git history for both projects, then moves their files
in place. It should not introduce any behavior changes to any of the
existing openstacksdk code, nor to openstack.config and openstack.cloud
- other than the name change.

TODO(shade) comments have been left indicating places where further
integration work should be done.

It should not be assumed that these are the final places for either to
live. This is just about getting them in-tree so we can work with them.

The enforcer code for reasons surpassing understanding does not work
with python setup.py build_sphinx but it does work with sphinx-build
(what?) For now turn it off. We can turn it back on once the build
sphinx job is migrated to the new PTI.

Change-Id: I9523e4e281285360c61e9e0456a8e07b7ac1243c
2017-11-15 09:03:23 -06:00
Monty Taylor a4ee1a3f09
Merge tox, tests and other support files
Change-Id: I5a4759e36089f1f4fab0c75412c94d051d8b16a7
2017-10-04 14:51:08 -05:00