mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Use Pillow types from typeshed.
This commit is contained in:
parent
9de08dc83f
commit
a19a0b6789
@ -93,7 +93,7 @@ class KneeboardPageWriter:
|
||||
def text(
|
||||
self,
|
||||
text: str,
|
||||
font: Optional[ImageFont.ImageFont] = None,
|
||||
font: Optional[ImageFont.FreeTypeFont] = None,
|
||||
fill: Tuple[int, int, int] = (0, 0, 0),
|
||||
) -> None:
|
||||
if font is None:
|
||||
|
||||
6
mypy.ini
6
mypy.ini
@ -19,11 +19,5 @@ warn_unused_ignores = True
|
||||
[mypy-faker.*]
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy-PIL.*]
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy-winreg.*]
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy-shapely.*]
|
||||
ignore_missing_imports = True
|
||||
@ -36,5 +36,6 @@ tabulate==0.8.7
|
||||
text-unidecode==1.3
|
||||
toml==0.10.2
|
||||
typed-ast==1.4.2
|
||||
types-Pillow==8.3.1
|
||||
typing-extensions==3.7.4.3
|
||||
virtualenv==20.4.2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user