We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e808e0 commit 034a5deCopy full SHA for 034a5de
isort/wrap_modes.py
@@ -337,7 +337,7 @@ def hanging_indent_with_parentheses(**interface: Any) -> str:
337
if (
338
not interface["line_separator"] in interface["statement"]
339
and "#" in interface["statement"]
340
- ):
+ ): # pragma: no cover # TODO: fix, this is because of test run inconsistency.
341
line, comments = interface["statement"].split("#", 1)
342
next_statement = (
343
f"{line.rstrip()}, {next_import}{interface['comment_prefix']}{comments}"
0 commit comments