Closed tdadela closed 2 weeks ago
Pinning ruff/mypy was because new versions of those can cause a new build to fail with no source change. But its probably a smaller issue than accidentally having really old versions..
Makes sense.
Just to clarify and be sure that we are on the same:
poetry install
uses the exact versions from poetry.lock
.
So someone will install newer version of mypy only if that person intentionally execute poetry update
(or add new dependency or execute other similar command).
Unpin
poetry
:ruff
is pinned to one particular version to keep the same version as in .pre-commit-config.yaml. I don't see reasons for poetry to be pinned. (Especially since adding poetry.lock file to the repo). Bumpruff
: there were a lot of improvements over the last half year (including better detection of old style string interpolation #2974).