forked from openshift-psap/llm-load-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
43 lines (38 loc) · 864 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
32
33
34
35
36
37
38
39
40
41
42
43
[tox]
envlist = linters, py39
skipsdist = true
# How do you install pywin32 from a binary file in tox on Windows?
# https://stackoverflow.com/questions/26639947/how-do-you-install-pywin32-from-a-binary
[testenv]
allowlist_externals=*
deps =
-r{toxinidir}/test-requirements.txt
commands =
{envpython} --version
[testenv:venv]
basepython = python3
commands =
{posargs}
#
# Begin linters
#
[testenv:flake8]
envdir = {toxworkdir}/linters
deps = {[testenv:linters]deps}
commands =
bash -c 'python -m flake8 *.py'
[testenv:pylint]
envdir = {toxworkdir}/linters
deps = {[testenv:linters]deps}
commands =
bash -c 'python -m pylint *.py'
[testenv:linters]
deps =
-r{toxinidir}/test-requirements.txt
commands =
{[testenv:flake8]commands}
# TODO: Also enable pylint in a follow-up PR
# {[testenv:pylint]commands}
#
# End linters
#