Commit graph

18 commits

Author SHA1 Message Date
Stephen Finucane
c1ce4acf70 Dump check_osc_commands output as yaml
This is a lot easier to read than what we were doing before.

Change-Id: I30dbd72ef64793ce0451081e6d5bbd7ca547673e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-12-18 11:55:42 +00:00
Stephen Finucane
82a809d5ed Fix ignored modules check
Change-Id: I051f325c2ca7ad68176ab3734cfab03a5e758d1e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-12-18 11:50:56 +00:00
Stephen Finucane
de791e785a Migrate to pyproject.toml and ruff
We also bump the pre-commit versions used.

Change-Id: I0662b6cc7efd58e9fcf6e936dc5556fcc8492ddf
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-12-12 11:38:56 +00:00
Stephen Finucane
10b0a3a8a8 Respect conflict resolution
In change I5dd9bc9743bea779ea1b4a71264c9a77c80033b3 we have started
ignoring commands from plugins that have been migrated in-tree. Respect
that here also.

Change-Id: I70efa43341df982519afed0803a118126925e5a7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-12-11 13:09:57 +00:00
Stephen Finucane
bcba1a1822 tests: Migrate to importlib
This is faster and built into stdlib.

Change-Id: I1a8ddccf91a03ead2dcd558ad17882903e807b75
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:18:58 +00:00
Stephen Finucane
40f7c167d8 Add pre-commit
Change-Id: Ifdee3615f26b370cda531ae0cc736b8db67ed204
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:18:36 +00:00
Andreas Jaeger
0b9cef46ec Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

blacklist:
W504 line break after binary operator

fix:
E117 over-indented

Change-Id: I5578956c5a3d496f16e41100c5a2f5e99b42f9a7
2020-03-27 21:02:40 +01:00
Eric Fried
717c85638c Use python3 for openstackclient-check-plugins job
...and fix py2-only-isms.

Change-Id: Icf539308d084541e1fd887bb50e205ad3135495f
2020-01-07 19:01:40 +00:00
Zuul
369177dcab Merge "Revert "check-plugins job: convert the job to tox"" 2019-09-11 16:37:31 +00:00
Zuul
5d53a79ce4 Merge "Revert "check-plugins job: switch to python3"" 2019-09-11 13:49:47 +00:00
Dean Troyer
8a73ffa2bb Revert "check-plugins job: convert the job to tox"
This reverts commit 1aed3ce715.

Change-Id: Id983fddcf07a5a43da62b7529d531c2444404b22
2019-09-11 08:41:09 -05:00
Dean Troyer
a110206709 Revert "check-plugins job: switch to python3"
This reverts commit 44f9cc01cd.

Change-Id: Ie9692634ae0bcc814fa345a8054a2e6e7685b6b3
2019-09-11 13:22:06 +00:00
Zuul
58f654bbfc Merge "Removes unused utf-8 declaration" 2019-09-11 05:32:18 +00:00
Sanu Madhavan
3cc682c19d Removes unused utf-8 declaration
Following files contain #-*- coding: utf-8 -*- declaration
but don't contain any unicode character

Change-Id: Iec6d4b867a4e079a07d5f0f653ab443085eb4ab5
2019-09-11 04:34:39 +00:00
Akihiro Motoki
44f9cc01cd check-plugins job: switch to python3
Change-Id: Id598cb4ebc345d868423e8ad29965075048191a0
2019-07-31 16:35:17 +09:00
Akihiro Motoki
1aed3ce715 check-plugins job: convert the job to tox
Previously check-plugins job runs a shell script in a playbook.
This commit converts it into tox env so that developers can run
the check job locally.

This commit also improves the output of check_osc_commands.

Change-Id: I280975f20b9dd5080bafb599440ed1c992648986
2019-07-31 16:32:45 +09:00
Dean Troyer
fac9e324f5 Add OSC plugin job
Also remove legacy bits from openstackclient-check-plugins

Change-Id: I5ef187f96d62fcf9813c98c568f549ecb8fc86ba
2017-10-19 11:43:43 -05:00
Steve Martinelli
49b361d517 Initial commit for the OSC metapackage repo.
Initial commit for OSC metapackage that includes all plugins.

Change-Id: I3db5eab671afada9b2cc026a4397ff9bdfdc0484
2017-01-06 14:39:22 -06:00