Skip to content

Commit

Permalink
fix: missing docstrings and types and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Sep 19, 2024
1 parent ba55790 commit cd48685
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 293 deletions.
8 changes: 1 addition & 7 deletions playa/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
import os.path
import struct
from io import BytesIO
from typing import BinaryIO, Tuple

try:
from typing import Literal
except ImportError:
# Literal was introduced in Python 3.8
from typing_extensions import Literal # type: ignore[assignment]
from typing import BinaryIO, Tuple, Literal

from playa.exceptions import PDFValueError
from playa.jbig2 import JBIG2StreamReader, JBIG2StreamWriter
Expand Down
Loading

0 comments on commit cd48685

Please sign in to comment.