noqa a pair of ambiguous variable names

This commit is contained in:
Hugo 2018-11-17 00:20:15 +02:00
parent c353225851
commit ffa4932ed0
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ A = Image.new("L", (1, 1), 1)
B = Image.new("L", (1, 1), 2)
Z = Image.new("L", (1, 1), 0) # Z for zero
F = Image.new("F", (1, 1), 3)
I = Image.new("I", (1, 1), 4)
I = Image.new("I", (1, 1), 4) # noqa: E741
A2 = A.resize((2, 2))
B2 = B.resize((2, 2))

View File

@ -214,7 +214,7 @@ class _PyAccessI16_L(PyAccess):
except TypeError:
color = min(color[0], 65535)
pixel.l = color & 0xFF
pixel.l = color & 0xFF # noqa: E741
pixel.r = color >> 8
@ -234,7 +234,7 @@ class _PyAccessI16_B(PyAccess):
except Exception:
color = min(color[0], 65535)
pixel.l = color >> 8
pixel.l = color >> 8 # noqa: E741
pixel.r = color & 0xFF