Skip to content

Commit

Permalink
Autoformat: Added planned feature
Browse files Browse the repository at this point in the history
* Attempt for autoformat to make the new lines after doc string standard,
  but that fails due to redbaron issue.
  • Loading branch information
kayhayen committed Dec 18, 2015
1 parent 22c7584 commit f4cf5ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions misc/autoformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ def replacer(part):
node.help(deep = True, with_formatting = True)
raise

if False:
while len(red) > 2 and red[0].type == "string" and red[1].type == "endl" and red[2].type == "endl":
del red[1]


new_code = red.dumps()

Expand Down

0 comments on commit f4cf5ff

Please sign in to comment.