Skip to content

Commit 848c4e4

Browse files
committed
Updated pyproject file.
1 parent 9398c01 commit 848c4e4

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

pyproject.toml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,55 @@
11
[build-system]
22
requires = [
3-
"pyTooling >= 5.0.0",
4-
"setuptools >= 68.0.0",
5-
"wheel >= 0.40.0"
3+
"setuptools >= 68.0.0",
4+
"wheel >= 0.40.0",
5+
"pyTooling >= 5.0.0"
66
]
77
build-backend = "setuptools.build_meta"
88

99
[tool.black]
1010
line-length = 120
1111

12+
[tool.mypy]
13+
python_version = "3.11"
14+
namespace_packages = true
15+
16+
pretty = true
17+
show_error_context = true
18+
19+
html_report = "report/typing"
20+
1221
[tool.pytest.ini_options]
1322
# Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
1423
# derived from unittest.Testcase
1524
python_files = "*"
1625
python_functions = "test_*"
26+
filterwarnings = [
27+
"error::DeprecationWarning",
28+
"error::PendingDeprecationWarning"
29+
]
1730

1831
[tool.coverage.run]
1932
branch = true
2033
omit = [
2134
"*site-packages*",
22-
"setup.py"
35+
"setup.py",
36+
"tests/*"
2337
]
2438

2539
[tool.coverage.report]
26-
skip_covered = true
40+
skip_covered = false
2741
skip_empty = true
2842
exclude_lines = [
43+
"pragma: no cover",
2944
"raise NotImplementedError"
3045
]
46+
omit = [
47+
"tests/*"
48+
]
3149

3250
[tool.coverage.html]
3351
directory = "report/coverage/html"
52+
title="Code Coverage of pySVModel"
3453

3554
[tool.coverage.xml]
3655
output = "report/coverage/coverage.xml"

0 commit comments

Comments
 (0)