hatch-fmt - Man Page

hatch fmt – Format and lint source code

Synopsis

hatch fmt [Options] [ARGS]...

Options

--check

Only check for errors rather than fixing them

--preview / --no-preview

Preview new rules and formatting

-l,  --linter

Only run the linter

-f,  --formatter

Only run the formatter

--sync

Sync the default config file with the current version of Hatch

-h,  --help

Show a help message and exit

See Also

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-shell(1), hatch-status(1), hatch-version(1)

hatch(1)

Referenced By

hatch(1), 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-shell(1), hatch-status(1), hatch-version(1).

December 2023