From ff2d105886c7ada0cb64e4d66616108a7c374406 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 25 Jan 2024 23:38:28 +0900 Subject: [PATCH] Simplify .coveragerc We check only files in the barbican directory so can use the source option. Change-Id: I3b5ddb6ed73d558db42031618e2e1bee3318ffa2 --- .coveragerc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.coveragerc b/.coveragerc index 6433c51af..a45e53ceb 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,9 +1,10 @@ [run] branch = True -omit = etc/*,setup.py,*egg*,.tox/*,barbican/tests/*, - functionaltests/*, - barbican/model/migration/alembic_migrations/versions/*, - barbican/plugin/dogtag.py, barbican/plugin/symantec.py +source = barbican +omit = barbican/tests/*, + barbican/model/migration/alembic_migrations/versions/, + barbican/plugin/dogtag.py, + barbican/plugin/symantec.py [report] ignore_errors = True