summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst3
-rw-r--r--tox.ini30
2 files changed, 18 insertions, 15 deletions
diff --git a/README.rst b/README.rst
index f9f6ca6..78c96df 100644
--- a/README.rst
+++ b/README.rst
@@ -25,6 +25,7 @@ formatters, handlers and support for context specific
logging (like resource id's etc).
* Free software: Apache license
-* Documentation: https://docs.openstack.org/oslo.log/latest
+* Documentation: https://docs.openstack.org/oslo.log/latest/
* Source: https://git.openstack.org/cgit/openstack/oslo.log
* Bugs: https://bugs.launchpad.net/oslo.log
+* Release notes: https://docs.openstack.org/releasenotes/oslo.log/
diff --git a/tox.ini b/tox.ini
index a6ea53c..39f0726 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,7 +3,6 @@ minversion = 2.0
envlist = py35,py27,pep8
[testenv]
-basepython = python3
setenv =
VIRTUAL_ENV={envdir}
BRANCH_NAME=master
@@ -15,29 +14,42 @@ commands =
python setup.py test --coverage --coverage-package-name=oslo_log --slowest --testr-args='{posargs}'
coverage report --show-missing
-[testenv:py27]
-basepython = python2.7
-
[testenv:pep8]
+basepython = python3
commands =
flake8
# Run security linter
bandit -r oslo_log -x tests -n5
[testenv:venv]
+basepython = python3
commands = {posargs}
[testenv:docs]
+basepython = python3
commands = python setup.py build_sphinx
+[testenv:releasenotes]
+basepython = python3
+commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+
[testenv:cover]
+basepython = python3
commands =
python setup.py test --coverage --coverage-package-name=oslo_log --testr-args='{posargs}'
coverage report --show-missing
[testenv:bandit]
+basepython = python3
commands = bandit -r oslo_log -x tests -n5
+[testenv:lower-constraints]
+basepython = python3
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt
+
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
@@ -47,13 +59,3 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
[hacking]
import_exceptions = oslo_log._i18n
-
-[testenv:releasenotes]
-commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
-
-
-[testenv:lower-constraints]
-deps =
- -c{toxinidir}/lower-constraints.txt
- -r{toxinidir}/test-requirements.txt
- -r{toxinidir}/requirements.txt