forked from NNTin/discord-twitter-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (28 loc) · 745 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
29
30
31
[tox]
envlist =
py36
style
skipsdist=True
[testenv]
description = Run unit tests with unittest
passenv = *
deps =
-r{toxinidir}/requirements.txt
commands =
python -m unittest discover -s tests/test_config
python -m unittest discover -s tests/test_discord
python -m unittest discover -s tests/test_options
python -m unittest discover -s tests/test_python
[testenv:extended]
basepython = python3.6
description = Run the extended unit tests with unittest
commands =
python -m unittest discover -s tests
[testenv:style]
basepython = python3.6
description = Stylecheck the code to see if anything needs changes.
deps =
-r{toxinidir}/requirements.txt
extras = style
commands =
{toxinidir}/make.bat stylecheck