Skip to content

Commit 3c7f79f

Browse files
committed
Fixed lint errors
1 parent e751acd commit 3c7f79f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

machina/core/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
try:
77
# Try from the Pillow (or one variant of PIL) install location first.
88
from PIL import Image as PILImage
9-
except ImportError as err: # pragma: no cover
9+
except ImportError: # pragma: no cover
1010
try:
1111
# If that failed, try the alternate import syntax for PIL.
1212
import Image as PILImage # noqa

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[flake8]
22
exclude = migrations,node_modules,example_projects,build,docs,.tox,.venv
3-
ignore = E731
3+
ignore = E731, W504
44
max-line-length = 100
55

66
[isort]

0 commit comments

Comments
 (0)