snakefmt
« Back to VersTracker
Description:
Snakemake code formatter
Type: Formula  |  Latest Version: 0.11.2@0  |  Tracked Since: Oct 12, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: snakemake formatter workflow bioinformatics linting
Install: brew install snakefmt
About:
snakefmt is an opinionated code formatter for Snakemake files. It automatically reformats Snakemake code to a consistent style, making workflows easier to read and maintain. The tool helps teams enforce coding standards and reduces time spent on manual formatting debates.
Key Features:
  • Automatic formatting of Snakemake syntax
  • Configurable style rules via pyproject.toml
  • CLI tool for single files or entire directories
  • Integration with pre-commit hooks
  • Black-compatible formatting engine
Use Cases:
  • Enforcing consistent style across Snakemake workflow repositories
  • Integrating formatting into CI/CD pipelines for bioinformatics pipelines
  • Automatically formatting existing Snakemake files to a standard style
Alternatives:
  • Black – General Python formatter that does not handle Snakemake-specific syntax
  • manual formatting – Time-consuming and inconsistent across teams
Version History
Detected Version Rev Change Commit
Oct 12, 2025 10:24am 0 VERSION_BUMP 7ed7f27f
Oct 11, 2024 8:52pm 0 VERSION_BUMP 592d46bb
Oct 11, 2024 12:39pm 0 VERSION_BUMP 12b5803b
Sep 13, 2024 10:50pm 0 VERSION_BUMP 578938f6
Apr 14, 2024 9:43pm 0 VERSION_BUMP a6ddc830
Feb 17, 2024 5:01pm 0 VERSION_BUMP 22124cb6
Jan 31, 2024 8:36pm 0 VERSION_BUMP 4b15728a
Nov 9, 2023 12:19am 1 VERSION_BUMP 99646c38
Nov 8, 2023 8:43am 1 VERSION_BUMP 15a47bc4
Oct 5, 2023 11:57am 0 VERSION_BUMP c4538cc1
Sep 24, 2023 8:10pm 0 VERSION_BUMP 3842b913
Aug 8, 2023 3:42pm 0 VERSION_BUMP 3e1d553a