Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

remove type assertions from util.py#2028

Merged
Byron merged 1 commit into
gitpython-developers:maingitpython-developers/GitPython:mainfrom
gcmarx:remove-type-assertionsgcmarx/GitPython:remove-type-assertionsCopy head branch name to clipboard
May 23, 2025
Merged

remove type assertions from util.py#2028
Byron merged 1 commit into
gitpython-developers:maingitpython-developers/GitPython:mainfrom
gcmarx:remove-type-assertionsgcmarx/GitPython:remove-type-assertionsCopy head branch name to clipboard

Conversation

@gcmarx

@gcmarx gcmarx commented May 22, 2025

Copy link
Copy Markdown
Contributor

Fixes #1552

@Byron Byron left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks a lot!

This looks like it was the preferred solution even though there are rightful concerns that this may break expectations of downstream code.

@Byron Byron merged commit bf51609 into gitpython-developers:main May 23, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Don't use assert to enforce interface constraints

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.