mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Update Black target to py36
This commit is contained in:
parent
893489c572
commit
e42aec8c90
|
@ -3,7 +3,7 @@ repos:
|
|||
rev: 6bedb5c58a7d8c25aa9509f8217bc24e9797e90d # frozen: 19.10b0
|
||||
hooks:
|
||||
- id: black
|
||||
args: ["--target-version", "py35"]
|
||||
args: ["--target-version", "py36"]
|
||||
# Only .py files, until https://github.com/psf/black/issues/402 resolved
|
||||
files: \.py$
|
||||
types: []
|
||||
|
|
|
@ -277,7 +277,7 @@ class ImageDraw:
|
|||
stroke_width=0,
|
||||
stroke_fill=None,
|
||||
*args,
|
||||
**kwargs
|
||||
**kwargs,
|
||||
):
|
||||
if self._multiline_check(text):
|
||||
return self.multiline_text(
|
||||
|
|
|
@ -415,7 +415,7 @@ class FreeTypeFont:
|
|||
language=None,
|
||||
stroke_width=0,
|
||||
*args,
|
||||
**kwargs
|
||||
**kwargs,
|
||||
):
|
||||
"""
|
||||
Create a bitmap for the text.
|
||||
|
|
Loading…
Reference in New Issue
Block a user