Skip to content

Commit 5a04fe5

Browse files
committed
black
1 parent 8dbb474 commit 5a04fe5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

flake8_rst_docstrings.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,11 @@ def run(self):
224224
- ast.get_docstring(node, clean=False).count("\n")
225225
- 1
226226
)
227-
assert node.body[0].lineno >= 1 and start >= 0, (
228-
"Bad start line, node line number %i for: %s\n"
229-
% (
230-
node.body[0].lineno,
231-
docstring,
232-
)
227+
assert (
228+
node.body[0].lineno >= 1 and start >= 0
229+
), "Bad start line, node line number %i for: %s\n" % (
230+
node.body[0].lineno,
231+
docstring,
233232
)
234233
for rst_error in rst_errors:
235234
# TODO - make this a configuration option?

0 commit comments

Comments
 (0)