-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox2.ini
More file actions
41 lines (38 loc) · 834 Bytes
/
tox2.ini
File metadata and controls
41 lines (38 loc) · 834 Bytes
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
[tox]
envlist = py{2},lint
isolated_build = true
ignore_base_python_conflict = true
skip_missing_interpreters = false
;toxworkdir = {toxinidir}/.tox
requires =
tox==4.5.1
virtualenv<20.22.0
[testenv]
setenv =
PYTHONWARNINGS = ignore:DEPRECATION::pip._internal.cli.base_command
allowlist_externals =
python
deps =
pytest
commands_pre =
python -V
python -c "import sys; print(sys.executable)"
commands =
python -V
python -c "import sys; print(sys.executable)"
[testenv:py2]
;basepython = {toxinidir}\.venv27\Scripts\python.exe
skip_install = true
commands_pre =
{[testenv]commands_pre}
python -m pip install -r requirements.txt
commands =
{[testenv]commands}
python -m pytest
[testenv:lint]
deps =
ruff
commands =
{[testenv]commands}
ruff check
ruff format --check