Skip to content

Commit

Permalink
fix #55
Browse files Browse the repository at this point in the history
  • Loading branch information
pseewald committed Sep 11, 2019
1 parent 0207147 commit 2b2801b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fprettify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def add_whitespace_charwise(line, spacey, filename, line_nr):
line[:pos], RE_FLAGS) or
re.search(SOL_STR + r"(TYPE|CLASS)\s+IS\s*$",
line[:pos], RE_FLAGS) or
re.search(r"\b" + INTR_STMTS_PAR + r"\s*$",
re.search(r"(?<!%)\b" + INTR_STMTS_PAR + r"\s*$",
line[:pos], RE_FLAGS)):
sep1 = 1 * spacey[8]

Expand Down

0 comments on commit 2b2801b

Please sign in to comment.