Commit Graph

9 Commits

Author SHA1 Message Date
HeroicHitesh 6641649453 Remove testr
* Remove .testr.conf as there is no tests dir and update .gitignore
  accordingly
* Use 3.18.0 as the minversion for tox and replace whitelist_externals
  by allowlist_externals and remove unused allowlist_externals

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: Iaca746c0ad67fee7972943beab7aca0ee314e2ed
2021-05-25 19:45:05 +05:30
Andreas Jaeger eb16cffa49 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
- move basepython to testenv in tox.ini

Change-Id: I243af5c69d9f1335609667574c00e5bec7b5659a
2020-06-04 18:00:59 +02:00
Goutham Pacha Ravi c750eab457 Drop install_command usage in tox
Use the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

See discussion on the openstack-discuss ML [1]
for the complete context.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014237.html

Change-Id: I6344f44fb955d631a4f0a13fa53ecc19826c7ea6
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-22 18:30:26 -07:00
Nguyen Hung Phuong 95cbd02299 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I0690e900cb354727b786032fc456eed25a72c3b8
2018-07-03 14:45:29 +07:00
Goutham Pacha Ravi d3e3d1b8a9 Switch to openstackdocstheme
Provides consistency across other specifications
on specs.openstack.org.

Change-Id: Ibcdba4fe820193b1594f36cef6c31c24005bd464
2018-04-27 13:27:29 -07:00
Tom Barron 8ced2b337d Remove unit test targets
With the move to zuulv3, the openstack-tox-py* job definitions
ignore doc only changes so we do not get spec
linters run as part of the py27 and py35 targets any more.

Run doc8 from the pep8 target.  Also drop the spell check job
since the way it is implemented causes the doc8 job to fail and
the optional spellcheck job was not useful as a practial quick
check anyways since it reported over 1000 "misspellings" because
OpenStack vocabulary contains many words and acronyms not in its
dictionary.

Corresponding changes have been proposed for nova [1] and
cinder [2].

[1] Ic87e79db6a8881398d670148b609e0b81658dfd1
[2] Ida20764edde3a07c89703d82b41958c96548b239

Change-Id: I82c8dbec713fc5575fd03c0ae290bf190bbdf8ca
2017-11-17 13:41:24 -05:00
Tom Barron 3c669be677 Update tox.ini to align with other manila repos
so that we can run 'tox' locally and properly validate our spec
docs.

* Update tox minversion and requirements
* Clean out build directory before new docs build
* Run doc8 validation
* Fix numerous incidental errors in the specs and templates
  so that doc8 now passes
* Setup both py35 and py27 environments
* Turn off yasfb extension until it can work with python 3

Change-Id: I722a9ad852cdfa0974322fbe29db37956dab3ee0
2017-04-13 20:21:54 -04:00
vponomaryov fcbe7b633f Add py27 tox env to tox config to unblock CI
Change-Id: I04ce849bc443cf82fed3d90266e7655bccbeff51
2016-11-17 15:42:19 +02:00
Ben Swartzlander 34524720d1 Create skeleton using cookiecutter
This repo skeleton was created using the openstack
specs-cookiecutter.

Change-Id: I180f61555c2aeeaf96ff17d568b6958a26d5e75e
2016-05-12 14:51:16 +00:00