Update Ruff and fix its errors
This commit is contained in:
parent
c54ceeb7a8
commit
1424978854
39 changed files with 183 additions and 175 deletions
|
|
@ -7,7 +7,7 @@ if TYPE_CHECKING:
|
|||
from collections.abc import Generator
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True) # noqa: RUF076 — intentional: project-wide N+1 detection with @pytest.mark.no_zeal escape hatch
|
||||
@pytest.fixture(autouse=True)
|
||||
def use_zeal(request: pytest.FixtureRequest) -> Generator[None]:
|
||||
"""Enable Zeal N+1 detection context for each pytest test.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue