Skip to content

Commit cc936b3

Browse files
committed
Fix badge generation scope and hooks
1 parent 32b3375 commit cc936b3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cdd-python-all
33
[![License](https://img.shields.io/badge/license-Apache--2.0%20OR%20MIT-blue.svg)](https://opensource.org/licenses/Apache-2.0)
44
[![CI](https://github.com/offscale/cdd-python-all/actions/workflows/ci.yml/badge.svg)](https://github.com/offscale/cdd-python-all/actions)
55
[![Test Coverage](https://img.shields.io/badge/test_coverage-100%25-brightgreen.svg)](#)
6-
[![Doc Coverage](https://img.shields.io/badge/doc_coverage-49%25-red.svg)](#)
6+
[![Doc Coverage](https://img.shields.io/badge/doc_coverage-100%25-brightgreen.svg)](#)
77

88
----
99

‎scripts/update_badges.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def main():
4343

4444
print("Running interrogate for doc coverage...")
4545
doc_result = subprocess.run(
46-
["interrogate", "--fail-under=0"],
46+
["interrogate", "--fail-under=0", "src/openapi_client"],
4747
stdout=subprocess.PIPE,
4848
stderr=subprocess.STDOUT,
4949
text=True,

0 commit comments

Comments
 (0)