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

Fixes #3334: Add support for custom parameter classes in mypy plugin #3335

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

starhel
Copy link
Contributor

@starhel starhel commented Jan 17, 2025

Description

Fix for custom parameter classes in mypy plugin.

Motivation and Context

I'm using custom parameter classes in my code, and I'd like to benefit from the new mypy plugin. The change is not the prettiest one but the smallest I've found.

Have you tested this? If so, how?

I've updated unittests.

@starhel starhel requested review from dlstadther and a team as code owners January 17, 2025 20:39
@starhel starhel force-pushed the fixes-3334 branch 2 times, most recently from 39116fa to 1c8cf31 Compare January 17, 2025 20:44
Copy link
Collaborator

@dlstadther dlstadther left a comment

Choose a reason for hiding this comment

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

I don't have issue with this change. Tests continue to pass.

Left 1 request.

luigi/mypy.py Outdated Show resolved Hide resolved
@starhel
Copy link
Contributor Author

starhel commented Jan 20, 2025

I fixed an accidental print in the code and rebased onto the current master.

@dlstadther dlstadther merged commit da54973 into spotify:master Jan 20, 2025
45 checks passed
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