mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Fix formatting of replacement
Black requires that there be double quotes instead of single
This commit is contained in:
parent
ff3bf918b0
commit
591d052647
1 changed files with 4 additions and 4 deletions
|
|
@ -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}",',
|
||||
)
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue