File tree Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
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"
6
6
]
7
7
build-backend = " setuptools.build_meta"
8
8
9
9
[tool .black ]
10
10
line-length = 120
11
11
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
+
12
21
[tool .pytest .ini_options ]
13
22
# Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
14
23
# derived from unittest.Testcase
15
24
python_files = " *"
16
25
python_functions = " test_*"
26
+ filterwarnings = [
27
+ " error::DeprecationWarning" ,
28
+ " error::PendingDeprecationWarning"
29
+ ]
17
30
18
31
[tool .coverage .run ]
19
32
branch = true
20
33
omit = [
21
34
" *site-packages*" ,
22
- " setup.py"
35
+ " setup.py" ,
36
+ " tests/*"
23
37
]
24
38
25
39
[tool .coverage .report ]
26
- skip_covered = true
40
+ skip_covered = false
27
41
skip_empty = true
28
42
exclude_lines = [
43
+ " pragma: no cover" ,
29
44
" raise NotImplementedError"
30
45
]
46
+ omit = [
47
+ " tests/*"
48
+ ]
31
49
32
50
[tool .coverage .html ]
33
51
directory = " report/coverage/html"
52
+ title =" Code Coverage of pySVModel"
34
53
35
54
[tool .coverage .xml ]
36
55
output = " report/coverage/coverage.xml"
You can’t perform that action at this time.
0 commit comments