The query then runs in the same transaction as the `db.session`
For that, `addresses_mock` now replaces only `session.query()`
instead of the whole `db.session`.
It needs the dependencies of `velofy` installed,
and it now also reports "# type: ignore" comments without an error code
or that are not needed anymore