You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rulemy_rule:
input:
data=(
# a comment on the below"input_1.txt"ifconditionelse"input_2.txt"
)
Obviously, this is not good style, and the comment should go before the the data line anyway - which is what I'll do to fix this. However, it still should not break the formatting.
Error:
snakefmt.exceptions.InvalidPython: Black error:
Cannot parse: 2:0: EOF in multi-line statement
Python itself does not complain about this, and so I think neither should do the formatter, despite the bad style, and instead just simply move the comment up, as it does in similar situations without parenthesis.
The text was updated successfully, but these errors were encountered:
This might be an issue with Black, but not sure.
Minimal example:
Obviously, this is not good style, and the comment should go before the the
data
line anyway - which is what I'll do to fix this. However, it still should not break the formatting.Error:
Python itself does not complain about this, and so I think neither should do the formatter, despite the bad style, and instead just simply move the comment up, as it does in similar situations without parenthesis.
The text was updated successfully, but these errors were encountered: