-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (46 loc) · 983 Bytes
/
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
[build-system]
requires = [
"pyTooling >= 5.0.0",
"setuptools >= 68.0.0",
"wheel >= 0.40.0"
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 120
[tool.mypy]
python_version = "3.11"
namespace_packages = true
pretty = true
show_error_context = true
html_report = "report/typing"
[tool.pytest.ini_options]
# Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
# derived from unittest.Testcase
python_files = "*"
python_functions = "test_*"
filterwarnings = [
"error::DeprecationWarning",
"error::PendingDeprecationWarning"
]
[tool.coverage.run]
branch = true
omit = [
"*site-packages*",
"setup.py",
"tests/*"
]
[tool.coverage.report]
skip_covered = false
skip_empty = true
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError"
]
omit = [
"tests/*"
]
[tool.coverage.html]
directory = "report/coverage/html"
title="Code Coverage of pyTooling"
[tool.coverage.xml]
output = "report/coverage/coverage.xml"