question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No blank line after description should be default mode

See original GitHub issue

Currently docformatter adds a blank line before closing quotes in docstring by default. But this is not conform to actual version of pep-257. Commentary about this in format_docstring function refers to paragraph which was removed in 2014: https://hg.python.org/peps/rev/a7b2b2d5b1d4

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
myintcommented, Feb 21, 2018
1reaction
kapshcommented, Dec 23, 2017

Makes sense and even easier. I have another question then: I can replace argparse argument only or additionally change default values for post_description_blank arguments in functions. But 2nd option will require removing blank lines in tests, is it okay?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does leaving a blank line in displaymath mode cause an ...
Actually, something is wrong with the syntax: All-blank lines are not allowed in math mode -- both inline math mode and display math...
Read more >
new mode for codemirror : Detecting an empty line in a stream
I am trying to develop a simple mode for codemirror. This mode will colour paragraphs alternatively in blue and green. A separation between ......
Read more >
Suppress display of end-of-file newline as blank line #1027
Moving this back to editor, neither I nor the issue creator agrees on the change of summary. I think this should be a...
Read more >
Fix coding Standard - There must be no blank line following ...
There must be no blank line following an inline comment Remove that blank line which are not as per coding standard.
Read more >
Line breaks and blank spaces - Overleaf, Online LaTeX Editor
The most standard way how to break lines is to create a new paragraph. This is done by leaving an empty line in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found