-
-
Notifications
You must be signed in to change notification settings - Fork 110
Preserve type information from docstrings if no type annotation is present and parameter has default value. #576
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add tests 👍
Uhm... A test was already added. Do you mean "more tests"? (Ruff is flagging that the function got to complex; normally, as an outsider, I'd refrain from refactoring, but I guess I have to.) |
No th ones added are fine. |
08b0811
to
220cca6
Compare
220cca6
to
98ec059
Compare
Apologies; my naive attempt at adding the unit tests without running locally didn't work well. I'm looking into it. |
…esent and parameter has default value. Fixes tox-dev#574.
Head branch was pushed to by a user without write access
98ec059
to
2fe2c44
Compare
I think I got the unit tests right now. For the records, I had some weird issues where, at some point, the unit tests would fail with some odd stale messages (switching to |
Fixes #574.