Skip to content

Commit

Permalink
Format Python code with Ruff push (#234)
Browse files Browse the repository at this point in the history
There appear to be some python formatting errors in
182a7e6.
This pull request uses the Ruff formatter to fix some of these issues.
  • Loading branch information
Diapolo10 authored Nov 15, 2024
2 parents 182a7e6 + 5a21967 commit ea585f4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest


@pytest.fixture()
@pytest.fixture
def red_foreground_example_text() -> list[tuple[str, str]]:
"""Return a list of tuples containing a string and an expected result."""
messages = (
Expand All @@ -20,7 +20,7 @@ def red_foreground_example_text() -> list[tuple[str, str]]:
]


@pytest.fixture()
@pytest.fixture
def green_foreground_example_text() -> list[tuple[str, str]]:
"""Return a list of tuples containing a string and an expected result."""
messages = (
Expand All @@ -37,7 +37,7 @@ def green_foreground_example_text() -> list[tuple[str, str]]:
]


@pytest.fixture()
@pytest.fixture
def blue_foreground_example_text() -> list[tuple[str, str]]:
"""Return a list of tuples containing a string and an expected result."""
messages = (
Expand All @@ -54,7 +54,7 @@ def blue_foreground_example_text() -> list[tuple[str, str]]:
]


@pytest.fixture()
@pytest.fixture
def red_background_example_text() -> list[tuple[str, str]]:
"""Return a list of tuples containing a string and an expected result."""
messages = (
Expand All @@ -71,7 +71,7 @@ def red_background_example_text() -> list[tuple[str, str]]:
]


@pytest.fixture()
@pytest.fixture
def green_background_example_text() -> list[tuple[str, str]]:
"""Return a list of tuples containing a string and an expected result."""
messages = (
Expand All @@ -88,7 +88,7 @@ def green_background_example_text() -> list[tuple[str, str]]:
]


@pytest.fixture()
@pytest.fixture
def blue_background_example_text() -> list[tuple[str, str]]:
"""Return a list of tuples containing a string and an expected result."""
messages = (
Expand Down

0 comments on commit ea585f4

Please sign in to comment.