Commit Graph

8 Commits

Author SHA1 Message Date
yangyawei 2706f92cad setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Id6a700f63682657a4a988c00e0c499dd45067d8a
2021-05-14 14:07:00 +08:00
Andreas Jaeger 7931f9818d Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Use newer openstackdocstheme and Sphinx versions for Python3
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Move python3 to testenv in tox.ini
- Switch to hacking 3, fix problems found.

Change-Id: I26fcab3b288b5ed64c74f7a6725b43036f195d44
2020-04-17 17:33:47 +02:00
Doug Hellmann 96e8407730 add jsonschema validation for project data
This change adds a tool to perform basic JSONSchema validation of the
reference/projects.yaml file.

Change-Id: I28ff94af37d7f4de07c1d282bf3c37c77eeea101
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Co-Authored-by: Zane Bitter <zbitter@redhat.com>
2019-07-31 10:03:31 -04:00
Doug Hellmann 6e7253899c move members file parsing into a reusable module
Set up openstack_governance as a package for reusable code and move
the members parsing function there.

Change-Id: Ic8845296d9fe8ee7822f2543d83a18000e96b6ff
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-08 19:16:34 -04:00
Doug Hellmann 42a2de44e0 update sphinx and treat warnings as errors
Sphinx 1.5.0 and pbr 2.0 include a feature to let us pass the flag to
treat warnings as errors through setup.cfg. Update the version of Sphinx
we're using explicitly, and rely on an unbounded pbr specification to
give us the latest version on every run.

Also fix the one warning that caused the build to fail.

Change-Id: Ie93a3adf82b8f568a3cc4357c1e78da22ddc92c0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-03-15 17:47:34 -04:00
Doug Hellmann 1c98c456b5 add flake8 to the linter job
Turn on flake8 for code style checks, like in our other repos. Fix or
explicitly ignore various issues to allow the linter job to pass.

Change-Id: I7bfd8cf5e9c00dfa83c0393a4307fd54d2113047
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-03-15 17:47:28 -04:00
Doug Hellmann 5415f89796 update doc build requirements
Update the versions of the tools used to build the docs and turn on
strict error checking.

Change-Id: Iae7c85aae0c2fbe1690d1e3d9cfc0492ff78ab05
2014-10-27 13:44:50 -04:00
Sean Dague 051215303a provide infrastructure for publishing docs to html
this brings over the pbr infrastructure for publishing rst files
to html with the oslo.sphix style. We'll need to move around
and reformat some of the documents for them to fully take effect
but this would be the first step in getting there.

Updated with our latest knowledge on how to do the right tox.ini
changes to handle sphinx issues.

This will then get used by another publish job to go to some
online repository.

Change-Id: I0dd3ecf0a9b3e356a4a2980a305b421b7d7b8602
2014-01-07 15:29:11 -05:00