From 7b6607ca728f76d2c22b591622479c95cc20fd07 Mon Sep 17 00:00:00 2001 From: Dennis McGregor Date: Thu, 23 May 2024 08:55:49 +1200 Subject: [PATCH 1/2] Add `black` 24 --- requirements/static_analysis.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/static_analysis.txt b/requirements/static_analysis.txt index d6bd695..492a6df 100644 --- a/requirements/static_analysis.txt +++ b/requirements/static_analysis.txt @@ -1,5 +1,5 @@ bandit~=1.7 -black~=23.1 +black~=24.4 djlint flakeheaven~=3.3 flake8-docstrings From 66e24d8b09b204fc537bd8e9509486de9667c07e Mon Sep 17 00:00:00 2001 From: Haydn Greatnews Date: Thu, 23 May 2024 10:35:37 +1200 Subject: [PATCH 2/2] Update other linters, remove flakeheaven-set --- requirements/static_analysis.txt | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/requirements/static_analysis.txt b/requirements/static_analysis.txt index 492a6df..72c35e1 100644 --- a/requirements/static_analysis.txt +++ b/requirements/static_analysis.txt @@ -1,15 +1,6 @@ bandit~=1.7 black~=24.4 -djlint -flakeheaven~=3.3 -flake8-docstrings -flake8-print -flake8-spellcheck -isort~=5.10 -# urllib3 v2 updates break cachecontrol, an upstream dependency of pip-audit -# https://github.com/ionrock/cachecontrol/pull/294 -urllib3<2 -# Pip-audit 2.5.3 changes package resolution -# and attempts to install psycopg2 from source -pip-audit==2.5.2 -ruff +djlint~=1.34 +isort~=5.13 +pip-audit~=2.7.3 +ruff==0.4.4