Skip to content

Commit

Permalink
black --target-version py35
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 2, 2019
1 parent b4f93cf commit 6f88d8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/PIL/ImageDraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def draw_text(ink, stroke_width=0, stroke_offset=None):
language=language,
stroke_width=stroke_width,
*args,
**kwargs
**kwargs,
)
coord = coord[0] + offset[0], coord[1] + offset[1]
except AttributeError:
Expand All @@ -326,7 +326,7 @@ def draw_text(ink, stroke_width=0, stroke_offset=None):
language,
stroke_width,
*args,
**kwargs
**kwargs,
)
except TypeError:
mask = font.getmask(text)
Expand Down
2 changes: 1 addition & 1 deletion src/PIL/ImageFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def transform(self, callback, with_normals=False, channels=None, target_mode=Non
r / (size1D - 1),
g / (size2D - 1),
b / (size3D - 1),
*values
*values,
)
else:
values = callback(*values)
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ deps =

[testenv:lint]
commands =
black --check --diff .
black --target-version py35 --check --diff .
flake8 --statistics --count
isort --check-only --diff
check-manifest
Expand Down

0 comments on commit 6f88d8d

Please sign in to comment.