| 1 |
[build-system] |
| 2 |
|
| 3 |
|
| 4 |
requires = [ |
| 5 |
"setuptools>=51", |
| 6 |
"wheel", |
| 7 |
"setuptools_scm[toml]>=7.0", |
| 8 |
] |
| 9 |
build-backend = "setuptools.build_meta" |
| 10 |
|
| 11 |
[tool.setuptools_scm] |
| 12 |
write_to = "pyocd/_version.py" |
| 13 |
local_scheme = "dirty-tag" |
| 14 |
|
| 15 |
[tool.pytest.ini_options] |
| 16 |
testpaths = ["test/unit"] |
| 17 |
junit_family = "xunit2" |
| 18 |
junit_logging = "all" |
| 19 |
log_level = "DEBUG" |
| 20 |
|
| 21 |
[tool.tox] |
| 22 |
legacy_tox_ini = """ |
| 23 |
[tox] |
| 24 |
envlist = py39 |
| 25 |
|
| 26 |
# Defaults for all test environments. |
| 27 |
[testenv] |
| 28 |
deps = |
| 29 |
pytest |
| 30 |
changedir = test |
| 31 |
passenv = CI_JOBS |
| 32 |
commands = |
| 33 |
python automated_test.py -j4 -q |
| 34 |
""" |
| 35 |
|
| 36 |
[tool.mypy] |
| 37 |
files = "pyocd" |
| 38 |
ignore_missing_imports = true |