flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I76d48e28a9c0a987acde2bb8262fc02aded302ef
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.
fix issues found by flake8.
Change-Id: I2f14cb6f67a0c9b4c0dcbf8d93c26eb99b9b9d33
This commit separates the requirements libraries for the docs job in
tox.ini. The latest sphinx doesn't work in Python2 environments anymore.
So, we need to split that into the test and docs jobs.
Change-Id: I7255cd9af0dfb5c1f66c1aa65d0ddfb144079836
This commit introduces doc8 package to sanity the documents. As a
result, one minor doc8 violations were found and fixed.
Change-Id: I0e9d6212536e59e438a14f632c4fc6016c31cc60
This commit switches to use stestr instead of os-testr. It should be
better to reduce the test runner complexity.
Change-Id: Ia16ad5ed6d9ed7be9dc6902f875b0144b24a938a
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.
[0] https://review.openstack.org/#/c/472275
Change-Id: I8a18f997aa1216fe8094265b8c0586c42d97b5ec
This commit updates the docs theme to the new one. The new theme is the
standard of the openstack document. There is no reason to avoid to use
it.
Change-Id: If17ce35bd2ba50c3e1ae6e1567dcbe4be59d5189
This commit adds 'files' table. This files table has coverage_id
column as a foreign key for the coverages table. And this commit also
adds a release note for it.
Change-Id: I8998a79a1ba79bbdab1cd79810cc85bcbccbe7d8
the OpenStack requirements project has modify version requirement of docutils/oslosphinx.
The link is below
https://review.openstack.org/#/c/418772/
So modify test-requirement like other project
Closes-Bug: #1666149
Change-Id: Ica3e3294b44127009c57d5e4f9f493a0b3395bab
The docutils 0.13.1 release breaks some documentation jobs
when it tries to build docs with remote images. This has been reported
upstream[0]. The version matches the supported docutils versions for
sphinx. The requirements patch is here: [1]
[0] https://sourceforge.net/p/docutils/bugs/301/
[1] https://review.openstack.org/#/c/409529/
Change-Id: I1ab3a06167798efbb5a3a683947483d1dd1c65d6
This commit introduces pip-check-reqs task to tox.ini. We should avoid
inconsistency between (test-)requirements.txt and actual source code.
Change-Id: I9d734cdbc1c1fb3283835890b8132e54a7b757d7