Skip to content

Commit

Permalink
🐛 no cover score function
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jun 9, 2024
1 parent 43f840f commit 906d9f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ozi/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def diagnostic( # pragma: no cover
return count


def score_file(count: Counter[str]) -> float:
def score_file(count: Counter[str]) -> float: # pragma: no cover
"""Score a single file comment diagnostic.
.. deprecated:: 1.11.2
Expand Down
2 changes: 1 addition & 1 deletion ozi/spec/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __call__(self: Self) -> _FactoryMethod: # pragma: defer to python

def __iter__(self: Self) -> Iterator[tuple[str, _Val]]:
for f in fields(self):
if f.repr:
if f.repr: # pragma: no cover
yield (
f.name,
(
Expand Down

0 comments on commit 906d9f8

Please sign in to comment.