-
Notifications
You must be signed in to change notification settings - Fork 5
/
tox.ini
23 lines (21 loc) · 616 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
[tox]
envlist = py38,py39,py310,py311,pep8
minversion = 1.6
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV = {envdir}
usedevelop = True
install_command = pip install -U --force-reinstall {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
commands =
coverage run -m pytest st2flake8/tests
[testenv:pep8]
setenv = VIRTUALENV_DIR = {envdir}
basepython = python3.10
deps =
-r{toxinidir}/requirements-test.txt
commands =
pylint -E --rcfile={toxinidir}/.pylintrc st2flake8
flake8 --config {toxinidir}/.flake8 st2flake8 --exclude st2flake8/tests/fixtures