Skip to content

Commit

Permalink
Re-ignores some coverages
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpylog committed Sep 30, 2024
1 parent 35c309f commit 2ea2d01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gotenberg_client/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def optional_to_form(value: Optional[FormFieldType], name: str) -> Dict[str, str
return {name: str(value).lower()}


def guess_mime_type_stdlib(url: Union[str, Path]) -> Optional[str]:
def guess_mime_type_stdlib(url: Union[str, Path]) -> Optional[str]: # pragma: no cover
"""
Guesses the MIME type of a URL using the standard library.
Expand Down
2 changes: 1 addition & 1 deletion src/gotenberg_client/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def to_form(self) -> Dict[str, str]:
format_name = format_mapping.get(self)
if format_name is not None:
# Warn about deprecated format usage (ideally move outside this method)
if self is PdfAFormat.A1a:
if self is PdfAFormat.A1a: # pragma: no cover
import warnings

warnings.warn(
Expand Down

0 comments on commit 2ea2d01

Please sign in to comment.