Skip to content

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Aug 29, 2025

Description

Mypy itself has a rather slow release cadences. A while ago I created mypy-dev. A repository setup to create development releases of mypy available on PyPI. Initially it was only really intended for use during the Home Assistant development. Today, I also setup a pre-commit mirror at mypy-dev-pre-commit so we could also use it here in pylint.

It wouldn't be worth it here usually, but I recently fixed a few mypy issues with the match statement which would be useful here. Once the next version is released, we could switch back again.

Note

Due to the increased release frequency and storage limits, I delete old versions on PyPI from time to time.
At most this would probably mean the mypy pre-commit check would fail if an old commit is checked out at some point. For the main branch pre-commit autoupdate should work fine.

I'd also recommend that the maintenance branch doesn't switch to mypy-dev since autoupdate isn't run there.

Resolves #10514 (comment)

@cdce8p cdce8p added Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry labels Aug 29, 2025
@cdce8p cdce8p changed the title Switch to mypy-dev 1.18.0a5 Switch to mypy-dev 1.18.0a6 Aug 29, 2025
Copy link

codecov bot commented Aug 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.84%. Comparing base (e843e53) to head (1a536bd).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #10527   +/-   ##
=======================================
  Coverage   95.84%   95.84%           
=======================================
  Files         177      177           
  Lines       19284    19284           
=======================================
  Hits        18483    18483           
  Misses        801      801           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The kind of edginess I can get behind.

@Pierre-Sassoulas Pierre-Sassoulas merged commit e737d0c into pylint-dev:main Aug 29, 2025
25 of 26 checks passed
@cdce8p cdce8p deleted the switch-mypy-dev branch August 29, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants