Skip to content
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

Fix Markup-returning functions' return type #771

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

iFreilicht
Copy link
Contributor

@iFreilicht iFreilicht commented Jan 31, 2025

Markup is a sub-class of str, so this wasn't strictly wrong, but it's more correct this way and clearer when extending these filters.

@iFreilicht iFreilicht force-pushed the fix-Markup-return-types branch from ae020a2 to 1632af4 Compare January 31, 2025 10:35
Markup is a sub-class of string, so this wasn't strictly *wrong*, but
it's more correct this way and clearer when extending these filters.
@iFreilicht iFreilicht force-pushed the fix-Markup-return-types branch from 1632af4 to fc2342b Compare January 31, 2025 10:35
Copy link
Member

@mhils mhils left a comment

Choose a reason for hiding this comment

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

Thanks! 🍰

@mhils mhils merged commit 143d0a8 into mitmproxy:main Jan 31, 2025
14 checks passed
@iFreilicht iFreilicht deleted the fix-Markup-return-types branch January 31, 2025 12:17
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