From 591bccb1114811aed82c9592f4953f53bc069227 Mon Sep 17 00:00:00 2001 From: Franziska Wegner <57569315+franziska-wegner@users.noreply.github.com> Date: Fri, 29 Dec 2023 03:59:58 -0800 Subject: [PATCH] Add `black` for Python Formatting to Pre-Commit Hooks (#64) This commit adds `black` to the `.pre-commit-config.yaml` file. --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1d3b3d43..1521fe45 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,3 +17,7 @@ repos: args: [--autofix, --indent, 4] - id: requirements-txt-fixer - id: trailing-whitespace + - repo: https://github.com/psf/black + rev: 22.10.0 + hooks: + - id: black