Skip to content

Commit

Permalink
Fix coverage for handlers API prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Jan 25, 2025
1 parent 08f40e9 commit 1cbe6c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ exclude_also = [
"pragma: no cover",
"if TYPE_CHECKING:",
"return NotImplemented",
"raise NotImplementedError",
"@overload",
'if __name__ == "__main__":',
"if __name__ == '__main__':",
Expand Down
4 changes: 2 additions & 2 deletions transdoc/handlers/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def matches_file(self, file_path: str) -> bool:
Returns:
bool: whether the file can be transformed using this transformer.
"""
...
raise NotImplementedError()

def transform_file(
self,
Expand Down Expand Up @@ -52,4 +52,4 @@ def transform_file(
ExceptionGroup[TransdocError]: errors encountered during
transformation.
"""
...
raise NotImplementedError()

0 comments on commit 1cbe6c5

Please sign in to comment.