forked from UQComputingSociety/uqcsbot-slack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
21 lines (19 loc) · 617 Bytes
/
tox.ini
File metadata and controls
21 lines (19 loc) · 617 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py36
[testenv]
deps =
pytest
coverage
flake8
mypy
commands =
coverage run --parallel-mode --source uqcsbot/ -m pytest --junitxml=pytest.xml test/
coverage combine
coverage xml -o coverage.xml
coverage report
mypy -p uqcsbot --ignore-missing-imports --no-strict-optional
flake8 --max-line-length=100 uqcsbot, test