File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ def test_imsave_python_sequences():
205
205
read_img [:, :, :3 ] # Drop alpha if present
206
206
)
207
207
208
+
208
209
@pytest .mark .parametrize ("origin" , ["upper" , "lower" ])
209
210
def test_imsave_rgba_origin (origin ):
210
211
# test that imsave always passes c-contiguous arrays down to pillow
Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ select = [
156
156
" E251" ,
157
157
" E261" ,
158
158
" E272" ,
159
+ " E302" ,
159
160
" E703" ,
160
161
]
161
162
@@ -166,7 +167,6 @@ select = [
166
167
# See https://github.com/charliermarsh/ruff/issues/2402 for status on implementation
167
168
external = [
168
169
" E122" ,
169
- " E302" ,
170
170
]
171
171
172
172
[tool .ruff .lint .pydocstyle ]
@@ -198,7 +198,7 @@ convention = "numpy"
198
198
"galleries/examples/userdemo/pgf_preamble_sgskip.py" = [" E402" ]
199
199
200
200
"lib/matplotlib/__init__.py" = [" F822" ]
201
- "lib/matplotlib/_cm.py" = [" E202" , " E203" ]
201
+ "lib/matplotlib/_cm.py" = [" E202" , " E203" , " E302 " ]
202
202
"lib/matplotlib/_mathtext.py" = [" E221" ]
203
203
"lib/matplotlib/_mathtext_data.py" = [" E203" ]
204
204
"lib/matplotlib/backends/backend_template.py" = [" F401" ]
You can’t perform that action at this time.
0 commit comments