From b3da62e8be5b1b7c463dd6f1fa0b8a3b4a40f272 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sun, 24 Sep 2023 19:01:28 +0200 Subject: [PATCH] Set black version to pre-commit.ci one --- Makefile | 1 + plone-5.2.x.cfg | 2 +- versions.cfg | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0a28fd4..cffb994 100644 --- a/Makefile +++ b/Makefile @@ -87,6 +87,7 @@ build-plone-6.0: ## Build Plone 6.0 python$(version) -m venv . bin/pip install --upgrade pip bin/pip install -r requirements-6.0.x.txt + bin/pip install pip install black==$$(awk '/^black =/{print $$NF}' versions.cfg) bin/buildout -c plone-6.0.x.cfg .PHONY: Test diff --git a/plone-5.2.x.cfg b/plone-5.2.x.cfg index 82f35ea..3b37a17 100644 --- a/plone-5.2.x.cfg +++ b/plone-5.2.x.cfg @@ -7,7 +7,7 @@ versions=versions [versions] plone.rest = -black = 21.12b0 +black = 23.3.0 # Error: The requirement ('virtualenv>=20.0.35') is not allowed by your [versions] constraint (20.0.26) virtualenv = 20.0.35 diff --git a/versions.cfg b/versions.cfg index 226cfde..ed31954 100644 --- a/versions.cfg +++ b/versions.cfg @@ -14,7 +14,7 @@ Pygments = 2.5.1 plone.recipe.varnish = 1.3 # Code-analysis -black = 21.12b0 +black = 23.3.0 plone.recipe.codeanalysis = 3.0.1 coverage = 3.7.1 pep8 = 1.7.1