From c5c97f0e5863b2e92a62377ee1fdf2c8cd0f27eb Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Fri, 27 Jan 2023 17:13:02 -0600 Subject: [PATCH] Add black hook --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a46ebba..394091c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,13 @@ repos: - repo: https://github.com/rtts/djhtml - rev: 'main' # replace with the latest tag on GitHub + rev: 'v1.5.2' # replace with the latest tag on GitHub hooks: - id: djhtml entry: djhtml -i -t 2 files: templates/. - id: djcss types: [scss] + - repo: https://github.com/psf/black + rev: 22.10.0 + hooks: + - id: black