From 3fe7c70b4874a1fc0c61d165ff7ecf943b6b1c13 Mon Sep 17 00:00:00 2001 From: jasquat Date: Mon, 13 Mar 2023 15:50:34 -0400 Subject: [PATCH] added configs to get ready for setting black to allow longer line lengths w/ burnettk --- .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 3f1c6dbb..9353025e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,9 +12,13 @@ repos: # exclude: ^migrations/ exclude: "/migrations/" - # otherwise it will not fix long lines if the long lines contain long strings + # --preview because otherwise it will not fix long lines if the long lines contain long strings # https://github.com/psf/black/pull/1132 # https://github.com/psf/black/pull/1609 + # --line-length because then we can avoid the fancy line wrapping in more instances and jason, kb, and elizabeth + # kind of prefer long lines rather than cutely-formatted sets of lines. + # TODO: enable when its safe to update the files + # args: [--preview, --line-length, "110"] args: [--preview] - id: check-added-large-files