snakemake / snakefmt

The uncompromising Snakemake code formatter
MIT License
153 stars 29 forks source link

prefix keyword in module declaration not recognised #130

Closed koen-vg closed 2 years ago

koen-vg commented 2 years ago

Hi,

Thanks for the great package! Snakemake 6.13 introduced the prefix keyword in module declaration blocks, which can look like this:

module:
    snakefile: "other/Snakefile"
    prefix: "other"

This is not yet recognised by snakefmt; the above module declaration is rejected as invalid.