Skip to content

Commit 2f52a84

Browse files
committed
Fix doc8 line length violations committed in prevoius PR
1 parent e23f9f6 commit 2f52a84

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

docs/features/generating_output.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,19 @@ the terminal or not.
140140
Aligning Text
141141
--------------
142142

143-
If you would like to generate output which is left, center, or right aligned within a
144-
specified width or the terminal width, the following functions can help:
143+
If you would like to generate output which is left, center, or right aligned
144+
within a specified width or the terminal width, the following functions can
145+
help:
145146

146147
- :meth:`cmd2.utils.align_left`
147148
- :meth:`cmd2.utils.align_center`
148149
- :meth:`cmd2.utils.align_right`
149150

150-
These functions differ from Python's string justifying functions in that they support
151-
characters with display widths greater than 1. Additionally, ANSI style sequences are safely
152-
ignored and do not count toward the display width. This means colored text is supported. If
153-
text has line breaks, then each line is aligned independently.
151+
These functions differ from Python's string justifying functions in that they
152+
support characters with display widths greater than 1. Additionally, ANSI style
153+
sequences are safely ignored and do not count toward the display width. This
154+
means colored text is supported. If text has line breaks, then each line is
155+
aligned independently.
154156

155157

156158

@@ -165,5 +167,5 @@ in the output to generate colors on the terminal.
165167

166168
The :meth:`cmd2.ansi.style_aware_wcswidth` function solves both of these
167169
problems. Pass it a string, and regardless of which Unicode characters and ANSI
168-
text style escape sequences it contains, it will tell you how many characters on the
169-
screen that string will consume when printed.
170+
text style escape sequences it contains, it will tell you how many characters
171+
on the screen that string will consume when printed.

docs/features/settings.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ echo
7070
~~~~
7171

7272
If ``True``, each command the user issues will be repeated to the screen before
73-
it is executed. This is particularly useful when running scripts. This behavior
74-
does not occur when a running command at the prompt.
73+
it is executed. This is particularly useful when running scripts. This
74+
behavior does not occur when a running command at the prompt.
7575

7676

7777
editor
@@ -105,13 +105,14 @@ Allow access to your application in one of the
105105
max_completion_items
106106
~~~~~~~~~~~~~~~~~~~~
107107

108-
Maximum number of CompletionItems to display during tab completion. A CompletionItem
109-
is a special kind of tab-completion hint which displays both a value and description
110-
and uses one line for each hint. Tab complete the ``set`` command for an example.
108+
Maximum number of CompletionItems to display during tab completion. A
109+
CompletionItem is a special kind of tab-completion hint which displays both a
110+
value and description and uses one line for each hint. Tab complete the ``set``
111+
command for an example.
111112

112-
If the number of tab-completion hints exceeds ``max_completion_items``, then they will
113-
be displayed in the typical columnized format and will not include the description text
114-
of the CompletionItem.
113+
If the number of tab-completion hints exceeds ``max_completion_items``, then
114+
they will be displayed in the typical columnized format and will not include
115+
the description text of the CompletionItem.
115116

116117

117118
prompt

0 commit comments

Comments
 (0)