-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (38 loc) · 704 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
[tox]
envlist =
py38
py39
py310
py311
py312
pypy3
mypy
min_version = 4
requires =
pip==24
tox>=4
virtualenv>=20.24.1
[testenv]
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
deps =
-r{toxinidir}/requirements.txt
pip==24
set_env =
# Avoid "AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?"
# creating py312 env. I don't know why it happened, this made it go away.
VIRTUALENV_PIP=24
commands =
pytest
package = wheel
wheel_build_env = .pkg
[testenv:mypy]
basepython = python3.8
deps =
mypy
commands =
mypy -m tai64