Here we explicitly describe how snakefmt will handle formatting of snakemake files.
snakefmt
snakemake
We run black on python code. For the rest, we follow black's (and therefore PEP8) style.
black
Rules are treated the same as python's class. Meaning they will have two newlines above and below (with comments being excluded).
class
Before
rule a: input: "foo.txt" # this function does f all def f(): pass
After
There was an error while loading. Please reload this page.