======== Usage ======== .. only:: latex .. include:: _blurb.rst Command Line --------------- .. program:: formate .. click:: formate.__main__:main :prog: formate :nested: none As a ``pre-commit`` hook ---------------------------- ``formate`` can also be used as a `pre-commit `_ hook. To do so, add the following to your `.pre-commit-config.yaml `_ file: .. pre-commit:: :rev: 0.7.0 :hooks: formate :args: --verbose The ``args`` option can be used to provide the command line arguments shown above. By default ``formate`` is run with ``--verbose --diff``