File tree Expand file tree Collapse file tree 2 files changed +27
-30
lines changed Expand file tree Collapse file tree 2 files changed +27
-30
lines changed Original file line number Diff line number Diff line change @@ -147,3 +147,30 @@ module = [
147
147
" lightning_app.utilities.tree" ,
148
148
]
149
149
ignore_errors = " True"
150
+
151
+ [tool .coverage .report ]
152
+ exclude_lines = [
153
+ " pragma: no cover" ,
154
+ " warnings" ,
155
+ " pass" ,
156
+ " rank_zero_warn" ,
157
+ " raise NotImplementedError" ,
158
+ ]
159
+
160
+ [tool .pytest .ini_options ]
161
+ norecursedirs = [
162
+ " .git" ,
163
+ " .github" ,
164
+ " dist" ,
165
+ " build" ,
166
+ " docs" ,
167
+ ]
168
+ addopts = " --strict-markers --doctest-modules --color=yes --disable-pytest-warnings --ignore=legacy/checkpoints"
169
+ markers = [
170
+ " cloud:Run the cloud tests for example" ,
171
+ ]
172
+ filterwarnings = [
173
+ " error::FutureWarning" ,
174
+ ]
175
+ xfail_strict = true
176
+ junit_duration_report = " call"
Original file line number Diff line number Diff line change @@ -17,36 +17,6 @@ name = pytorch-lightning
17
17
author = Lightning-AI et al.
18
18
url = https://github.com/Lightning-AI/lightning
19
19
20
- [tool:pytest]
21
- norecursedirs =
22
- .git
23
- .github
24
- dist
25
- build
26
- docs
27
- addopts =
28
- --strict-markers
29
- --doctest-modules
30
- --color =yes
31
- --disable-pytest-warnings
32
- --ignore =legacy/checkpoints
33
- markers =
34
- cloud:Run the cloud tests for example
35
- filterwarnings =
36
- error::FutureWarning
37
- xfail_strict = true
38
- junit_duration_report = call
39
-
40
-
41
- [coverage:report]
42
- exclude_lines =
43
- pragma: no-cover
44
- warnings
45
- pass
46
- rank_zero_warn
47
- raise NotImplementedError
48
-
49
-
50
20
[flake8]
51
21
max-line-length = 120
52
22
exclude =
You can’t perform that action at this time.
0 commit comments