-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Preview style: Don't collapse dummy implementation with comment #4063
Comments
I tried to change this but it causes some problems in typeshed:
Will have to think more about the right approach here. Also considering to turn off the dummy_implementations change for suites that aren't functions or classes. |
Yeah, let's avoid changing the logic with comments. Only doing dummy impls for classes and functions seems like a good way to fix the issue. |
Sounds good, I updated the PR to apply the dummy impl logic only to classes and functions. |
I found this change in our test suite while trying to stabilize the preview style:
This is from the
dummy_implementation
preview change, #3796.I think the new code looks worse here; we shouldn't use the dummy_implementation branch if there is a comment after the ellipsis.
The text was updated successfully, but these errors were encountered: