Skip to content

Commit

Permalink
chore: ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Feb 19, 2025
1 parent 2f40465 commit 38ae74e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions playa/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,9 @@ def do__q(self, s: PDFObject) -> Union[ContentObject, None]:
self.do_T_a()
return self.do_TJ([s])

def do__w(self, aw: PDFObject, ac: PDFObject, s: PDFObject) -> Union[ContentObject, None]:
def do__w(
self, aw: PDFObject, ac: PDFObject, s: PDFObject
) -> Union[ContentObject, None]:
"""Set word and character spacing, move to next line, and show text
The " (double quote) operator.
Expand Down Expand Up @@ -1379,7 +1381,9 @@ def do_MP(self, tag: PDFObject) -> Union[ContentObject, None]:
"""Define marked-content point"""
return self.do_DP(tag, None)

def do_DP(self, tag: PDFObject, props: PDFObject = None) -> Union[ContentObject, None]:
def do_DP(
self, tag: PDFObject, props: PDFObject = None
) -> Union[ContentObject, None]:
"""Define marked-content point with property list"""
# See above
if isinstance(props, PSLiteral):
Expand Down

0 comments on commit 38ae74e

Please sign in to comment.