Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 25, 2025
1 parent 0edb304 commit 5373c5c
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions src/PIL/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,31 @@ def read(self, length: int = ..., /) -> _T_co: ...

StrOrBytesPath = Union[str, bytes, os.PathLike[str], os.PathLike[bytes]]

Anchor = Literal["la", "lt", "lm", "ls", "lb", "ld",
"ma", "mt", "mm", "ms", "mb", "md",
"ra", "rt", "rm", "rs", "rb", "rd",
"sa", "st", "ms", "ss", "sb", "sd"]
Anchor = Literal[

Check warning on line 52 in src/PIL/_typing.py

View check run for this annotation

Codecov / codecov/patch

src/PIL/_typing.py#L52

Added line #L52 was not covered by tests
"la",
"lt",
"lm",
"ls",
"lb",
"ld",
"ma",
"mt",
"mm",
"ms",
"mb",
"md",
"ra",
"rt",
"rm",
"rs",
"rb",
"rd",
"sa",
"st",
"ss",
"sb",
"sd",
]

Align = Literal["left", "center", "right"]

Check warning on line 78 in src/PIL/_typing.py

View check run for this annotation

Codecov / codecov/patch

src/PIL/_typing.py#L78

Added line #L78 was not covered by tests

Expand Down

0 comments on commit 5373c5c

Please sign in to comment.