issue-261 Fixed missing parts of argument descriptions#262
issue-261 Fixed missing parts of argument descriptions#262MichaelCG8 wants to merge 1 commit intogoogle:masterfrom
Conversation
… Numpy style docstrings.
|
Belated thanks for this PR! If I'm understanding correctly: There are two behavior changes within:
Change 1. doesn't seem so important -- it prevents the parser from treating some invalid arg names as args, but as I understand it this increased strictness hasn't come up in practice. Change 2. is important; it fixes a bug where previously we were losing some information about multiline arg descriptions. Can you confirm my understanding is correct? Thanks. Thanks also for the test cases 👍 |
|
With similar belatedness, thank you for reviewing! Change 1 This could have been fixed by also checking for a The case where there is a single word followed by a period is something I've hit a few times if I reach my line length limit and wrap the last word onto a new line. Change 2 |
… Numpy style docstrings. 482bb9d by Michael Garbutt <[email protected]>: COPYBARA_INTEGRATE_REVIEW=#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9d PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
|
Closed with c39de6a |
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <[email protected]>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <[email protected]>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <[email protected]>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
… Numpy style docstrings. 482bb9da4bc09522984d982716a79caeafabf3e2 by Michael Garbutt <[email protected]>: COPYBARA_INTEGRATE_REVIEW=google/python-fire#262 from MichaelCG8:issue-261-bugfix-multi-line-docstring-parameter-descriptions 482bb9da4bc09522984d982716a79caeafabf3e2 PiperOrigin-RevId: 353248737 Change-Id: I3033200c69c5aba0ce9bb819574f37248e32c1cb
issue-261 Fixed missing parts of argument descriptions for Google and Numpy style docstrings.