From 86e5cb5a185fcd5633a49a12fad8fc3eacaa5ed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=9Aliwi=C5=84ski?= Date: Wed, 9 Oct 2024 10:13:04 +0200 Subject: [PATCH] Install black on python 3.12 and up --- Pipfile | 2 +- newsfragments/+303487e8.misc.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 newsfragments/+303487e8.misc.rst diff --git a/Pipfile b/Pipfile index 9851184..365748e 100644 --- a/Pipfile +++ b/Pipfile @@ -10,7 +10,7 @@ towncrier = "==24.8.0" pytest = "==8.3.3" pytest-cov = "==5.0.0" coverage = "==7.6.1" -black = "==24.10.0" +black = {version = "==24.10.0", markers="python_version >= '3.12'"} mypy = "==1.11.2" tbump = "==6.11.0" ruff = "==0.6.9" diff --git a/newsfragments/+303487e8.misc.rst b/newsfragments/+303487e8.misc.rst new file mode 100644 index 0000000..c9b6285 --- /dev/null +++ b/newsfragments/+303487e8.misc.rst @@ -0,0 +1 @@ +Updated black installation to not install on python version older than 3.12