From 591d052647588a6c816e0363a2687a56f91205cc Mon Sep 17 00:00:00 2001 From: Serene-Arc <33189705+Serene-Arc@users.noreply.github.com> Date: Sat, 1 Jun 2024 14:27:38 +1000 Subject: [PATCH] Fix formatting of replacement Black requires that there be double quotes instead of single --- extra/release.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extra/release.py b/extra/release.py index 781853b6c..273bf96ea 100755 --- a/extra/release.py +++ b/extra/release.py @@ -19,7 +19,7 @@ VERSION_LOCS = [ [ ( r'__version__\s*=\s*[\'"]([0-9\.]+)[\'"]', - "__version__ = '{version}'", + '__version__ = "{version}"', ) ], ), @@ -28,11 +28,11 @@ VERSION_LOCS = [ [ ( r'version\s*=\s*[\'"]([0-9\.]+)[\'"]', - "version = '{minor}'", + 'version = "{minor}"', ), ( r'release\s*=\s*[\'"]([0-9\.]+)[\'"]', - "release = '{version}'", + 'release = "{version}"', ), ], ), @@ -41,7 +41,7 @@ VERSION_LOCS = [ [ ( r'\s*version\s*=\s*[\'"]([0-9\.]+)[\'"]', - " version='{version}',", + ' version="{version}",', ) ], ),