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
|
[build-system]
# These are the assumed default build requirements from pip:
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
requires = [
"setuptools>=51",
"wheel",
"setuptools_scm[toml]>=6.0,<7.0; python_version < \"3.7\"",
"setuptools_scm[toml]>=7.0; python_version >= \"3.7\"",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "pyocd/_version.py"
local_scheme = "dirty-tag"
[tool.pytest.ini_options]
testpaths = ["test/unit"]
junit_family = "xunit2"
junit_logging = "all"
log_level = "DEBUG"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37
# Defaults for all test environments.
[testenv]
deps =
pytest
changedir = test
passenv = CI_JOBS
commands =
python automated_test.py -j4 -q
"""
[tool.mypy]
files = "pyocd"
ignore_missing_imports = true
|