Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 5a2e851

Browse files
committed
Fixed new pep8 error (W503).
1 parent 286f4ff commit 5a2e851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pep257.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,8 +784,8 @@ def check_indent(self, definition, docstring):
784784
if set(' \t') == set(''.join(indents) + indent):
785785
return Error('D206: Docstring indented with both tabs and '
786786
'spaces')
787-
if (len(indents) > 1 and min(indents[:-1]) > indent
788-
or indents[-1] > indent):
787+
if (len(indents) > 1 and min(indents[:-1]) > indent or
788+
indents[-1] > indent):
789789
return Error('D208: Docstring is over-indented')
790790
if min(indents) < indent:
791791
return Error('D207: Docstring is under-indented')

0 commit comments

Comments
 (0)