Skip to content

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

Merged
gbolmier merged 2 commits intoonline-ml:mainfrom
e10e3:sync-pre-commit
May 15, 2025
Merged

Sync pre-commit's repo versions with Poetry#1676
gbolmier merged 2 commits intoonline-ml:mainfrom
e10e3:sync-pre-commit

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.
@e10e3
Copy link
Contributor Author

e10e3 commented May 14, 2025

As a note, one of the unit tests failed, but I cannot reproduce the failure on my side. I believe this error is just some flakiness.

@gbolmier gbolmier merged commit 9e2ceca into online-ml:main May 15, 2025
4 of 5 checks passed
@e10e3 e10e3 deleted the sync-pre-commit branch May 15, 2025 10:32
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