Skip to content

Commit b580af9

Browse files
committed
removes py37 from tox and adds autotoc
1 parent a1133c9 commit b580af9

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
# directory, add these directories to sys.path here. If the directory is
2121
# relative to the documentation root, use os.path.abspath to make it
2222
# absolute, like shown here.
23-
sys.path.insert(0, os.path.abspath('..'))
23+
sys.path.insert(0, os.path.abspath('.'))
24+
sys.path.insert(0, os.path.abspath('../'))
2425
print(sys.path)
2526
# Get the project root dir, which is the parent dir of this
2627
cwd = os.getcwd()
@@ -42,6 +43,9 @@
4243
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
4344
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon']
4445

46+
# Napoleon settings
47+
48+
4549
# Add any paths that contain templates here, relative to this directory.
4650
templates_path = ['_templates']
4751

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py35, py36, py37
2+
envlist = py35, py36, flake8
33

44
[travis]
55
python =
@@ -20,8 +20,8 @@ deps =
2020
-r{toxinidir}/requirements_dev.txt
2121
commands =
2222
pip install -U pip
23-
coverage run --source disamby -m pytest
24-
coverage xml
23+
py.test --basetemp={envtmpdir}
24+
2525
[flake8]
2626
max-complexity = 10
2727
max-line-length = 90

0 commit comments

Comments
 (0)