fonk

Default configuration for fonk #

uvx bron add fonk http://bron.sh/c/fonk/default.toml

Part of the default setup this will configure fonk as taskrunner. It will not add any commands, the they will be added by their respective tool configurations, e.g. mypy will add a mypy command and typecheck alias. The fonk configuration does add a all alias to run all commands that each configuration will add to. Lastly a default command is configured: run the all alias in --fix mode.

Source #

[tool.fonk]
flags = [
    {name = "fix", description = "Autofix issues where possible"},
    {name = "debug", description = "Enable debugging"},
]

[tool.fonk.default]
description = "Most commonly used: run all checks in fix mode"
command = "all"
flags = ["fix"]

[tool.fonk.alias.all]
description = "Run all checks"
commands = []
Download c/fonk/default.toml