snakefmt

Format Snakemake files. More information: https://github.com/snakemake/snakefmt.

snakefmt path/to/snakefile

snakefmt path/to/directory

snakefmt --config path/to/config.toml path/to/snakefile

snakefmt --line-length 100 path/to/snakefile

snakefmt --diff path/to/snakefile