black --target-version py35

This commit is contained in:
Hugo 2019-11-02 20:02:07 +02:00
parent b4f93cf140
commit 6f88d8dd6b
3 changed files with 4 additions and 4 deletions

View File

@ -313,7 +313,7 @@ class ImageDraw:
language=language, language=language,
stroke_width=stroke_width, stroke_width=stroke_width,
*args, *args,
**kwargs **kwargs,
) )
coord = coord[0] + offset[0], coord[1] + offset[1] coord = coord[0] + offset[0], coord[1] + offset[1]
except AttributeError: except AttributeError:
@ -326,7 +326,7 @@ class ImageDraw:
language, language,
stroke_width, stroke_width,
*args, *args,
**kwargs **kwargs,
) )
except TypeError: except TypeError:
mask = font.getmask(text) mask = font.getmask(text)

View File

@ -495,7 +495,7 @@ class Color3DLUT(MultibandFilter):
r / (size1D - 1), r / (size1D - 1),
g / (size2D - 1), g / (size2D - 1),
b / (size3D - 1), b / (size3D - 1),
*values *values,
) )
else: else:
values = callback(*values) values = callback(*values)

View File

@ -24,7 +24,7 @@ deps =
[testenv:lint] [testenv:lint]
commands = commands =
black --check --diff . black --target-version py35 --check --diff .
flake8 --statistics --count flake8 --statistics --count
isort --check-only --diff isort --check-only --diff
check-manifest check-manifest