Skip to content

Enable native parser for mypy type checking#16

Merged
tsvikas merged 1 commit into
mainfrom
claude/update-mypy-native-parser-6zU09
Apr 7, 2026
Merged

Enable native parser for mypy type checking#16
tsvikas merged 1 commit into
mainfrom
claude/update-mypy-native-parser-6zU09

Conversation

@tsvikas
Copy link
Copy Markdown
Owner

@tsvikas tsvikas commented Apr 7, 2026

Summary

Updated the mypy dependency configuration to use the native parser implementation, which provides improved performance and reliability for type checking.

Changes

  • Modified pyproject.toml.jinja to add the native-parser extra to the mypy dependency specification
  • Changed mypy ~=1.19.0 to mypy[native-parser] ~=1.19.0 in the typing dependencies group

Details

The native parser is mypy's modern parser implementation that offers better performance characteristics compared to the default parser. This change ensures the project uses the optimized parsing backend for type checking operations.

https://claude.ai/code/session_01QXJXTFoz2DVZyGd2MDTGs3

Install mypy with the native-parser extra for improved parsing performance.

https://claude.ai/code/session_01QXJXTFoz2DVZyGd2MDTGs3
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@tsvikas tsvikas merged commit ebd37bd into main Apr 7, 2026
5 checks passed
@tsvikas tsvikas deleted the claude/update-mypy-native-parser-6zU09 branch April 7, 2026 13:50
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