-
Notifications
You must be signed in to change notification settings - Fork 864
Expand file tree
/
Copy path.coveragerc
More file actions
47 lines (37 loc) · 1.17 KB
/
Copy path.coveragerc
File metadata and controls
47 lines (37 loc) · 1.17 KB
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
# .coveragerc to control coverage.py
[run]
source = pennylane
omit =
pennylane/devices/tests*
pennylane/labs/*
pennylane/workflow/interfaces/tensorflow.py
pennylane/workflow/interfaces/tensorflow_autograph.py
pennylane/backline/decoders/triton/*
# Parametric mid-circuit measurement support is deferred during the Operator2 migration. sc-130033
pennylane/ftqc/conditional_measure.py
pennylane/ftqc/decomposition.py
pennylane/ftqc/parametric_midmeasure.py
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
pragma: no cover (TensorFlow tests were disabled during deprecation)
# Ignore type checking
if TYPE_CHECKING:
# Don't complain about debug-only or logging code:
if self\.debug
if "LOGGING" in os.environ
# print statements
def __format__
def _print_list
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
# Ignore things that would have trivial tests
def version
# Ignore overload stubs
@overload
ignore_errors = True
[html]
directory = coverage_html_report