File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ('../' ))
2425print (sys .path )
2526# Get the project root dir, which is the parent dir of this
2627cwd = os .getcwd ()
4243# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
4344extensions = ['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.
4650templates_path = ['_templates' ]
4751
Original file line number Diff line number Diff line change 11[tox]
2- envlist = py35, py36, py37
2+ envlist = py35, py36, flake8
33
44[travis]
55python =
2020 -r{toxinidir}/requirements_dev.txt
2121commands =
2222 pip install -U pip
23- coverage run --source disamby -m pytest
24- coverage xml
23+ py.test -- basetemp ={envtmpdir}
24+
2525[flake8]
2626max-complexity = 10
2727max-line-length = 90
You can’t perform that action at this time.
0 commit comments