Remove the config of flake8-expression-complexity
This commit is contained in:
parent
b24eb80f70
commit
137b3b1e03
1 changed files with 13 additions and 13 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue