HATCH-FMT(1)
β¨ HATCH-FMT(1) β¨
okay bestie, welcome to hatch fmt β the command that formats and lints your source code so your repo stays cute and your reviewers stay happy π
she's giving glow-up for your codebase and honestly? obsessed.
πΈ NAME πΈ
hatch fmt β format and lint source code. that's it, that's the whole vibe π
π¦ SYNOPSIS π¦
hatch fmt [OPTIONS] [ARGS]...
π OPTIONS π
--checkβ only checks for errors instead of fixing them. like, she'll look at your code and be like "girlβ¦ π" but she won't touch a thing. perfect for CI where nobody's allowed to change anything β¨-l,--linterβ run only the linter. just the linter. nothing else, no formatter, we're being picky today π-f,--formatterβ run only the formatter. just the pretty-printing, no judging, no linting, pure aesthetics π--syncβ syncs the default config file with the current version of Hatch. it's giving "we need to talk about our settings" π-h,--helpβ show a help message and exit. the classic, the icon, the one you always forget exists π
ngl if you're unsure what's about to happen to your files, run it with --check first. future you says thank you π«Ά
π SEE ALSO π
the whole friend group, fr fr β go say hi:
hatch-build(1)hatch-clean(1)hatch-config(1)hatch-dep(1)hatch-env(1)hatch-new(1)hatch-project(1)hatch-publish(1)hatch-python(1)hatch-run(1)hatch-self(1)hatch-shell(1)hatch-status(1)hatch-test(1)hatch-version(1)hatch(1)
and that's the whole page, bestie!! π¦ this lil masterpiece is dated August 2024 and it's part of the Hatch manual set β User Commands energy only, no cap. now go format something and feel like the main character you are πβ¨π
π¦ where this page comes from
- epel 10: hatch 1.15.1-2.el10_3 Β· MIT
- fedora 43: hatch 1.14.2-2.fc43 Β· MIT
- fedora 43: hatch 1.15.1-1.fc43 Β· MIT
- fedora 44: hatch 1.16.4-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms