Skip to content

Commit 5979999

Browse files
committed
Add coverage on legacy code, remove coverage on applications.
- Code on the `legacy` folder is covered as part of normal unit tests and the coverage information is useful. - Tests in the `applications` folder are not run for coverage, so the coverage information is not usefule and is incorrectly pulling the coverage numbers down.
1 parent 45c98ec commit 5979999

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,12 @@ exclude_lines = [
9999
]
100100
omit = [
101101
"*/*_test.py",
102-
"keras/src/legacy/*",
102+
"keras/src/applications/*",
103103
]
104104

105105
[tool.coverage.run]
106106
branch = true
107107
omit = [
108108
"*/*_test.py",
109-
"keras/src/legacy/*",
109+
"keras/src/applications/*",
110110
]
111-

0 commit comments

Comments
 (0)