Skip to content

Commit c8e3757

Browse files
committed
Run yesqa to remove redundant noqa
1 parent 68ad4c0 commit c8e3757

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

Tests/test_image_filter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_kernel_not_enough_coefficients():
112112
def test_consistency_3x3():
113113
with Image.open("Tests/images/hopper.bmp") as source:
114114
with Image.open("Tests/images/hopper_emboss.bmp") as reference:
115-
kernel = ImageFilter.Kernel( # noqa: E127
115+
kernel = ImageFilter.Kernel(
116116
(3, 3),
117117
# fmt: off
118118
(-1, -1, 0,
@@ -134,7 +134,7 @@ def test_consistency_3x3():
134134
def test_consistency_5x5():
135135
with Image.open("Tests/images/hopper.bmp") as source:
136136
with Image.open("Tests/images/hopper_emboss_more.bmp") as reference:
137-
kernel = ImageFilter.Kernel( # noqa: E127
137+
kernel = ImageFilter.Kernel(
138138
(5, 5),
139139
# fmt: off
140140
(-1, -1, -1, -1, 0,

Tests/test_imagecms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def assert_aux_channel_preserved(mode, transform_in_place, preserved_channel):
484484
def create_test_image():
485485
# set up test image with something interesting in the tested aux channel.
486486
# fmt: off
487-
nine_grid_deltas = [ # noqa: E131
487+
nine_grid_deltas = [
488488
(-1, -1), (-1, 0), (-1, 1),
489489
(0, -1), (0, 0), (0, 1),
490490
(1, -1), (1, 0), (1, 1),

src/PIL/JpegPresets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"""
7272

7373
# fmt: off
74-
presets = { # noqa: E128
74+
presets = {
7575
'web_low': {'subsampling': 2, # "4:2:0"
7676
'quantization': [
7777
[20, 16, 25, 39, 50, 46, 62, 68,

src/PIL/PalmImagePlugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from ._binary import o8, o16be as o16b
1212

1313
# fmt: off
14-
_Palm8BitColormapValues = ( # noqa: E131
14+
_Palm8BitColormapValues = (
1515
(255, 255, 255), (255, 204, 255), (255, 153, 255), (255, 102, 255),
1616
(255, 51, 255), (255, 0, 255), (255, 255, 204), (255, 204, 204),
1717
(255, 153, 204), (255, 102, 204), (255, 51, 204), (255, 0, 204),

winbuild/build_prepare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def cmd_msbuild(
154154
# "bins": [r"libtiff\*.dll"],
155155
},
156156
"libwebp": {
157-
"url": "http://downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz", # noqa: E501
157+
"url": "http://downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz",
158158
"filename": "libwebp-1.1.0.tar.gz",
159159
"dir": "libwebp-1.1.0",
160160
"build": [

0 commit comments

Comments
 (0)