Takes a tip string and splits it on word boundaries so that it fits neatly inside the shell header.
(tip)
| 2028 | |
| 2029 | |
| 2030 | def _format_tip(tip): |
| 2031 | """Takes a tip string and splits it on word boundaries so that it fits neatly inside the |
| 2032 | shell header.""" |
| 2033 | return '\n'.join([line for line in textwrap.wrap(tip, len(HEADER_DIVIDER))]) |
| 2034 | |
| 2035 | |
| 2036 | WELCOME_STRING = """\ |
no test coverage detected