Commit Graph

11 Commits

Author SHA1 Message Date
Zuul c53796b31a Merge "Use unittest.mock instead of third party mock" 2020-07-22 13:29:30 +00:00
Andreas Jaeger 7be58d6af8 Cleanup repo
* Remove unused files babel.cfg and openstack-common.conf.
* Remove obsolete entries from setup.cfg.
* Remove six as requirement
* Switch to newer hacking version and fix all problems.
* Remove Babel requirement, update requirements for python3

Change-Id: I1fc46288e54a5b787afbd9ee31b32a0e7d28c6de
2020-06-09 10:45:08 +02:00
Sean McGinnis 9b9aabe74a
Use unittest.mock instead of third party mock
We can now use the standard library mock library instead of the third
party one previously needed for py27 compatibility.

Change-Id: I6b80b62d8e3c8bd9432f567e0725c191cef6f715
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-13 11:32:04 -05:00
Sean McGinnis d604461266 Clean up requirements
Removes docs requirements from test-requirements since those are now
tracked in doc/requirements.txt.

Updates docs requirements since we are now py3-only.

Change-Id: Id1472978e32d22564a944ccaf3804ba11f176be5
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-01-08 13:43:34 +00:00
Ben Nemec e27bb7efdb Switch to stestr
It works better and pbr will at some point drop support for running
tests via setup.py.

Change-Id: I44250d8c65af932e035c7ab6fc08f1135a15ab93
2019-08-01 17:02:18 +02:00
Sean McGinnis 58f2b47814 Raise hacking version and fix pep8 errors
Various issues hit when switching to using stestr to run tests.
Presumably from other pulled in dependencies. This raises hacking to a
version that fixes a pyflakes issue [0] and addresses other pep8
violations that are then identified.

[0] https://github.com/PyCQA/pyflakes/pull/80

Change-Id: I9d8637d50067d6618aa408f4dbd9c736956099ed
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-08-01 17:01:07 +02:00
Ben Nemec 39b1e03047 Load subproject data from governance
Instead of manually curating a list of all the subprojects in a
project, we should use the governance repo that already includes
most, if not all, of this information.

For the moment, this change just adds the governance data to the
data already in the json files. This is because I'm not sure whether
there is a 1:1 relationship between what is in governance and what
is in the json files. It's possible we could eliminate the json files
entirely at some point, but for the moment this gets us updated
subproject lists for essentially free, since it's likely that many
projects' json files are missing subprojects added in the past few
years.

Change-Id: Ia3992dd30f83294a96ace155691e50838cd5543b
2019-08-01 17:01:07 +02:00
Anne Gentle 2b1c945b45 Adds tox docs job
Follow PTI for this and add all needed changes, remove obsolete
options. Switch to openstackdocstheme instead of oslosphinx
since that is retired.

Remove module index - this repo has no modules and thus nothing is
generated.

Add job to publish documents.

Change-Id: Ida269f9755099f32a12f46082b529311ecb7e2b6
2019-05-18 13:45:47 +02:00
Swapnil Kulkarni (coolsvap) 0d755e76c5 Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: I3d3ca953b91c4551ebe181db7a776ac0ad203ae7
2016-07-22 05:01:22 +00:00
Robert Collins 017d1012d6 Pin Sphinx.
Infra advise that 1.2 is bust.

Change-Id: Idd86c1c68c02c06db8a35d2e89f966a8261e8b1e
2013-12-13 20:13:56 +13:00
Robert Collins 98d4a78c16 Cookiecutterify reviewstats.
One step on a long path. Note that there is some noddy stuff in here
like a pointless test - its in cookiecutter and I don't want to muddle
code moves up with that, so 'meh'.

Change-Id: I500b92c0e8177c85e696d039417dcf982010775b
2013-11-25 03:26:57 +00:00