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
`ruff` runs alongside `flake8` and `isort`,
with the rules aligned to theirs:
- `noqa` comments go where both tools expect them
- `import`s stay sorted case-insensitively,
now stated explicitly in both tools
- `print()` in the "docs" session became `session.log()`
- Request fixtures only needed for their side effects
via `@pytest.mark.usefixtures()` instead of as arguments
- Remove fixtures that a test does not use at all
- Exempt abstract methods because their arguments define an interface
Make `uv` the backend for the virtual environments,
and install the packages with the versions pinned in uv.lock,
exported into a constraints file with `uv export`,
instead of `poetry export` and `poetry install`.
Also, use `uv run` instead of `poetry run`.
Use the PEP 735 "[dependency-groups]" (here: "dev", "test", "docs")
instead of Poetry's "dev" group, and `uv_build` as the build backend.
Replace poetry.lock with uv.lock.
Also, adapt CI and the README.
Use ">=installed,<next major" as the version range,
the minor version for 0.x packages, and only
a lower bound for calendar-versioned packages.
`black` stays below v26 to keep 2 lines after the `import`s.
Also, remove the redundant `geopy` entry in the "dev" group.
`sqlalchemy` v2.1 uses `psycopg` v3 as the default PostgreSQL driver.
So, we replace `psycopg2` with `psycopg`,
using its binary wheel that bundles `libpq`,
so CI no longer needs `libpq-dev` from `apt`.