summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorWitold Bedyk <witold.bedyk@est.fujitsu.com>2017-09-14 18:19:43 +0200
committerWitold Bedyk <witold.bedyk@est.fujitsu.com>2017-09-19 18:04:02 +0200
commitad544f387eaa015c3dfde6c006edbcc88bcc6c98 (patch)
treee5275f4b00a1d8b61c8fcc4210c5128a0ff9c22a /tox.ini
parentb9c75a04afbf397c2f34964b057f8139359c147f (diff)
Define repository structure
Notes
Notes (review): Code-Review+2: Tomasz Trębski <tomasz.trebski@ts.fujitsu.com> Workflow+1: Tomasz Trębski <tomasz.trebski@ts.fujitsu.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 20 Sep 2017 10:28:50 +0000 Reviewed-on: https://review.openstack.org/504108 Project: openstack/monasca-specs Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini35
1 files changed, 35 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..ed316f6
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,35 @@
1[tox]
2minversion = 2.8
3envlist = docs,pep8
4skipsdist = True
5
6[testenv]
7usedevelop = True
8install_command = pip install -U {opts} {packages}
9setenv =
10 VIRTUAL_ENV={envdir}
11deps = -r{toxinidir}/requirements.txt
12 -r{toxinidir}/test-requirements.txt
13
14[testenv:venv]
15commands = {posargs}
16
17[testenv:docs]
18commands = python setup.py build_sphinx
19
20[testenv:pep8]
21description = Runs set of linters against codebase (checkniceness)
22commands = {[testenv:checkniceness]commands}
23
24[testenv:checkniceness]
25description = Validates (pep-like) documenation
26skip_install = True
27usedevelop = False
28commands = doc8 --file-encoding utf-8 {toxinidir}/doc
29
30[testenv:spelling]
31deps =
32 -r{toxinidir}/requirements.txt
33 sphinxcontrib-spelling
34 PyEnchant
35commands = sphinx-build -b spelling doc/source doc/build/spelling