Enable RUF in ruff

This commit is contained in:
Alexander Hess 2026-11-30 23:17:41 +01:00
commit c56fe649b7
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -83,9 +83,7 @@ class TestGridification:
all considered `Order.pickup_address` attributes for some orders.
"""
mock = mocker.Mock()
query = (
mock.query.return_value.join.return_value.filter.return_value.all # noqa:E501
)
query = mock.query.return_value.join.return_value.filter.return_value.all
monkeypatch.setattr(db, "session", mock)
return query