Skip to content

Sync pre-commit's repo versions with Poetry #1676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

e10e3
Copy link
Contributor

@e10e3 e10e3 commented Apr 9, 2025

The tool versions listed for pre-commit were different from the ones in poetry.lock, leading to different behaviour between a local invocation and from pre-commit.

In the case of MyPy, pre-commit's version was severely outdated, causing false positives and false negatives.

When River's dependencies are updated, pre-commit's configuration should be updated to have the same versions.

I realise now that this is one of the causes of #1665; but this PR does not solve the main problem of dependencies between files anyway.

The tool versions listed for pre-commit were different from the ones
in poetry.lock, leading to different behaviour between a local
invocation and from pre-commit.

In the case of MyPy, pre-commit's version was severely outdated,
causing false positives and false negatives.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants