Remove the config of flake8-expression-complexity

This commit is contained in:
Alexander Hess 2026-11-28 02:13:40 +01:00
commit 137b3b1e03
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -121,7 +121,7 @@ class TestProperties:
def _restaurants_mock(self, mocker, monkeypatch, restaurant):
"""A `Mock` whose `.return_value` is `[restaurant]`."""
mock = mocker.Mock()
query = ( # noqa:ECE001
query = (
mock.query.return_value.join.return_value.filter.return_value.all # noqa:E501
)
query.return_value = [restaurant]