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
When a parameter_list contains a empty named entry it is deleted by snakefmt upon formatting if there are other entries. Somewhat related to #104.
rule foo:
input:
bar="fileA.data",
baz=
is formatted to
rule foo:
input:
bar="fileA.data",
But if the bar entry wasn't there the same error is raised as in #104.
This is not a really big issue, although it produces some unexpected results if you have Visual Studio Code setup to autoformat on save and a save is triggered (in my case because of an autosave on context change). I understand empty lines are deleted, but I think this should be a grammar error instead of simply deleting the line.
The text was updated successfully, but these errors were encountered:
When a parameter_list contains a empty named entry it is deleted by snakefmt upon formatting if there are other entries. Somewhat related to #104.
is formatted to
But if the
bar
entry wasn't there the same error is raised as in #104.This is not a really big issue, although it produces some unexpected results if you have Visual Studio Code setup to autoformat on save and a save is triggered (in my case because of an autosave on context change). I understand empty lines are deleted, but I think this should be a grammar error instead of simply deleting the line.
The text was updated successfully, but these errors were encountered: