From dc44cfddedd2595788384b4637eca0bbcbe2fde0 Mon Sep 17 00:00:00 2001 From: Christopher Pickering Date: Fri, 12 Nov 2021 08:48:25 +0100 Subject: [PATCH] added note to pre-commit docs --- docs/djlint/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/djlint/usage.rst b/docs/djlint/usage.rst index 5cf373c..264ff28 100644 --- a/docs/djlint/usage.rst +++ b/docs/djlint/usage.rst @@ -148,7 +148,7 @@ This will look for files matching ``*.hbs`` and set ``--profile=handlebars``. This will look for files matching ``*.tmpl`` and set ``--profile=golang``. -Note that these predefined hooks are sometimes too conservative in the inputs they accept (your templates may be using a different extension) so pre-commit explicitly allows you to override any of these pre-defined options. +Note that these predefined hooks are sometimes too conservative in the inputs they accept (your templates may be using a different extension) so pre-commit explicitly allows you to override any of these pre-defined options. See the `pre-commit docs `_ for additional configuration Default Django example ^^^^^^^^^^^^^^^^^^^^^^ @@ -174,4 +174,4 @@ Handlebars with .html extension instead of .hbs - id: djlint-handlebars files: "\\.html" -You can use the ``files`` or ``exclude`` parameters to constrain each hook to its own directory, allowing you to support multiple templating languages within the same repo. \ No newline at end of file +You can use the ``files`` or ``exclude`` parameters to constrain each hook to its own directory, allowing you to support multiple templating languages within the same repo.