-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make merge_pyi not to overwrite existing type annotations. When we as…
…sume that the existing type annotations are correct, we should totally not overwrite it as the same thing can be named in different ways depending on how you import it. But it's not a good idea to change the way how the users have written the import already. The former change was introduced in #1644, but it seems that respecting the original code best suits what we think this tool should behave. PiperOrigin-RevId: 678640645
- Loading branch information
1 parent
8b1d8bb
commit d5437c0
Showing
3 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters