From bc599d764e7a932c7074bc51496192fbd8f4943c Mon Sep 17 00:00:00 2001
From: Antti Kaihola <13725+akaihola@users.noreply.github.com>
Date: Sun, 25 Dec 2022 22:35:19 +0200
Subject: [PATCH 1/2] Pin Black to 22.12.0 in CI build

Ensures consistent formatting of the Darker code base itself.
---
 .github/workflows/python-package.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 9f5701fc6..93bd48cec 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -88,7 +88,7 @@ jobs:
           - '3.8'
           - '3.9'
           - '3.10'
-        constraints: ['']
+        constraints: ['black==22.12.0']
         include:
           - os: ubuntu-latest
             python-version: '3.7'

From 54f3db99348bf02f692a3858ac81623a6d536c25 Mon Sep 17 00:00:00 2001
From: Antti Kaihola <13725+akaihola@users.noreply.github.com>
Date: Sun, 25 Dec 2022 22:35:51 +0200
Subject: [PATCH 2/2] Update the change log

---
 CHANGES.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CHANGES.rst b/CHANGES.rst
index 3a98668a0..40254c87c 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -8,6 +8,8 @@ Added
 
 Fixed
 -----
+- Pin Black to version 22.12.0 in the CI build to ensure consistent formatting of
+  Darker's own code base.
 
 
 1.6.0_ - 2022-12-19