File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 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():
205205 read_img [:, :, :3 ] # Drop alpha if present
206206 )
207207
208+
208209@pytest .mark .parametrize ("origin" , ["upper" , "lower" ])
209210def test_imsave_rgba_origin (origin ):
210211 # 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 = [
156156 " E251" ,
157157 " E261" ,
158158 " E272" ,
159+ " E302" ,
159160 " E703" ,
160161]
161162
@@ -166,7 +167,6 @@ select = [
166167# See https://github.com/charliermarsh/ruff/issues/2402 for status on implementation
167168external = [
168169 " E122" ,
169- " E302" ,
170170]
171171
172172[tool .ruff .lint .pydocstyle ]
@@ -198,7 +198,7 @@ convention = "numpy"
198198"galleries/examples/userdemo/pgf_preamble_sgskip.py" = [" E402" ]
199199
200200"lib/matplotlib/__init__.py" = [" F822" ]
201- "lib/matplotlib/_cm.py" = [" E202" , " E203" ]
201+ "lib/matplotlib/_cm.py" = [" E202" , " E203" , " E302 " ]
202202"lib/matplotlib/_mathtext.py" = [" E221" ]
203203"lib/matplotlib/_mathtext_data.py" = [" E203" ]
204204"lib/matplotlib/backends/backend_template.py" = [" F401" ]
You can’t perform that action at this time.
0 commit comments