-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathtox.ini
More file actions
55 lines (46 loc) · 1.05 KB
/
tox.ini
File metadata and controls
55 lines (46 loc) · 1.05 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
[tox]
envlist =
compat-py37
qtcompat-py37
format
lint
skip_missing_interpreters = True
requires = tox>4.0
[testenv]
package = editable
usedevelop = True
changedir = {toxinidir}
passenv = USERNAME
deps =
pip-tools
Qt.py==1.4.7
[testenv:compat-py37]
deps =
commands =
python -m compileall -f -q -x "\.tox|shared-venv|subprojects" .
[testenv:.qtcompat]
deps =
numpy==1.21.6
PySide2
[testenv:qtcompat-py37]
deps = {[testenv:.qtcompat]deps}
commands =
python {envsitepackagesdir}/Qt_convert_enum.py . --check
python {envsitepackagesdir}/Qt_convert_enum.py . --partial
[testenv:qtcompat-py37-fix]
deps = {[testenv:.qtcompat]deps}
commands =
python {envsitepackagesdir}/Qt_convert_enum.py . --check --write
python {envsitepackagesdir}/Qt_convert_enum.py . --partial
[testenv:setup]
deps =
build
commands =
# Ensure the version.py file is created
python -m build --version
[testenv:lint]
deps = ruff
commands = ruff check --extend-exclude=tests/ .
[testenv:format]
deps = ruff
commands = ruff format --check .