Update Black target to py36

This commit is contained in:
Hugo van Kemenade 2020-07-15 13:37:43 +03:00
parent 893489c572
commit e42aec8c90
3 changed files with 3 additions and 3 deletions

View File

@ -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: []

View File

@ -277,7 +277,7 @@ class ImageDraw:
stroke_width=0,
stroke_fill=None,
*args,
**kwargs
**kwargs,
):
if self._multiline_check(text):
return self.multiline_text(

View File

@ -415,7 +415,7 @@ class FreeTypeFont:
language=None,
stroke_width=0,
*args,
**kwargs
**kwargs,
):
"""
Create a bitmap for the text.