forked from Cog-Creators/Red-Dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
28 lines (26 loc) · 566 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[tox]
envlist =
py38
docs
style
[testenv:docs]
description = Attempt to build docs with sphinx-build
whitelist_externals =
sphinx-build
make
setenv =
PATHTEXT=.BAT;.EXE
basepython = python3.8
extras = docs
commands =
sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out/html" -W -bhtml
[testenv:style]
description = Stylecheck the code with black to see if anything needs changes.
whitelist_externals =
make
setenv =
PATHTEXT=.BAT;.EXE
basepython = python3.8
extras = style
commands =
make stylediff