diff --git a/lib/matplotlib/tests/test_image.py b/lib/matplotlib/tests/test_image.py index 0570bc28f72f..cededdb1b83c 100644 --- a/lib/matplotlib/tests/test_image.py +++ b/lib/matplotlib/tests/test_image.py @@ -205,6 +205,7 @@ def test_imsave_python_sequences(): read_img[:, :, :3] # Drop alpha if present ) + @pytest.mark.parametrize("origin", ["upper", "lower"]) def test_imsave_rgba_origin(origin): # test that imsave always passes c-contiguous arrays down to pillow diff --git a/pyproject.toml b/pyproject.toml index 3e82040baf80..040846f231b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -156,6 +156,7 @@ select = [ "E251", "E261", "E272", + "E302", "E703", ] @@ -166,7 +167,6 @@ select = [ # See https://github.com/charliermarsh/ruff/issues/2402 for status on implementation external = [ "E122", - "E302", ] [tool.ruff.lint.pydocstyle] @@ -198,7 +198,7 @@ convention = "numpy" "galleries/examples/userdemo/pgf_preamble_sgskip.py" = ["E402"] "lib/matplotlib/__init__.py" = ["F822"] -"lib/matplotlib/_cm.py" = ["E202", "E203"] +"lib/matplotlib/_cm.py" = ["E202", "E203", "E302"] "lib/matplotlib/_mathtext.py" = ["E221"] "lib/matplotlib/_mathtext_data.py" = ["E203"] "lib/matplotlib/backends/backend_template.py" = ["F401"] pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy