From 59799996d47b100eebc8a365aabcb3698e91a984 Mon Sep 17 00:00:00 2001 From: Fabien Hertschuh <1091026+hertschuh@users.noreply.github.com> Date: Tue, 12 Aug 2025 18:13:13 -0700 Subject: [PATCH] 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. --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bd9e7c30f869..453e31d76413 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,13 +99,12 @@ exclude_lines = [ ] omit = [ "*/*_test.py", - "keras/src/legacy/*", + "keras/src/applications/*", ] [tool.coverage.run] branch = true omit = [ "*/*_test.py", - "keras/src/legacy/*", + "keras/src/applications/*", ] -