Skip to content

Commit 80c311b

Browse files
committed
Updated pyproject configuration due to pytest v9.0.
1 parent f902488 commit 80c311b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

pyproject.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,21 @@ namespace_packages = true
3636
html_report = "report/typing"
3737

3838
[tool.pytest]
39-
junit_xml = "report/unit/UnittestReportSummary.xml"
40-
41-
[tool.pyedaa-reports]
42-
junit_xml = "report/unit/unittest.xml"
43-
44-
[tool.pytest.ini_options]
45-
addopts = "--tb=native"
39+
addopts = ["--tb=native"]
4640
# Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
4741
# derived from unittest.Testcase
48-
python_files = "*"
49-
python_functions = "test_*"
42+
python_files = ["*"]
43+
python_functions = ["test_*"]
5044
filterwarnings = [
5145
"error::DeprecationWarning",
5246
"error::PendingDeprecationWarning"
5347
]
48+
junit_xml = "report/unit/UnittestReportSummary.xml"
5449
junit_logging = "all"
5550

51+
[tool.pyedaa-reports]
52+
junit_xml = "report/unit/unittest.xml"
53+
5654
[tool.interrogate]
5755
color = true
5856
verbose = 1 # possible values: 0 (minimal output), 1 (-v), 2 (-vv)

0 commit comments

Comments
 (0)