-
Notifications
You must be signed in to change notification settings - Fork 263
/
pyproject.toml
99 lines (85 loc) · 2.57 KB
/
pyproject.toml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[build-system]
requires = [
"setuptools >= 35.0.2",
"setuptools_scm >= 2.0.0, <3"
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 120
[tool.towncrier]
package = "vunit"
package_dir = "vunit"
single_file = false
filename="docs/news.inc"
directory = "docs/news.d/"
title_format = false
issue_format = ":vunit_issue:`{issue}`"
underlines = ["-", "~"]
[[tool.towncrier.section]]
path = ""
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Miscellaneous"
showcontent = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{36,37,38,39,310,311,312,313}-{fmt,unit,lint,docs}, py{36,37,38,39,310,311,312,313}-{acceptance,vcomponents}-{activehdl,ghdl,modelsim,nvc,rivierapro}, py{36,37,38,39,310,311,312,313}-coverage
isolated_build = True
[testenv]
recreate=True
passenv=ALDEC_LICENSE_FILE
deps=
fmt: black
pytest
lint: pycodestyle
lint: pylint
lint: mypy
lint: Pygments
lint: setuptools
coverage: coverage
coverage: pycodestyle
coverage: pylint
coverage: mypy
coverage: Pygments
coverage: setuptools
docs: docutils
docs: furo
docs: sphinx==7.3.7
docs: sphinx-argparse==0.4.0
docs: towncrier
setenv=
acceptance-activehdl: VUNIT_SIMULATOR=activehdl
acceptance-ghdl: VUNIT_SIMULATOR=ghdl
acceptance-modelsim: VUNIT_SIMULATOR=modelsim
acceptance-nvc: VUNIT_SIMULATOR=nvc
acceptance-rivierapro: VUNIT_SIMULATOR=rivierapro
commands=
fmt: {envpython} -m black ./ --exclude 'vunit/vhdl/JSON-for-VHDL|.eggs|.git|.hg|.mypy_cache|.nox|.tox|.venv|_build|buck-out|build|dist' {posargs}
unit: {envpython} -m pytest -v -ra tests/unit {posargs}
lint: {envpython} -m pytest -v -ra tests/lint {posargs}
docs: {envpython} tools/build_docs.py {envtmpdir}/docsbuild {posargs}
acceptance: {envpython} -m pytest -v -ra tests/acceptance {posargs}
vcomponents: {envpython} vunit/vhdl/verification_components/run.py --clean
coverage: {envpython} -m coverage run --branch --source vunit/ -m pytest tests/
"""