Skip to content

Commit ba48e0a

Browse files
authored
fix: fix renovate regex match for pip/pipx (#651)
1 parent c8f843b commit ba48e0a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.renovaterc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"^template/docs/.+\\.md(\\.jinja)?$"
2929
],
3030
"matchStrings": [
31-
"pip install.* (?<depName>.*?)==(?<currentValue>.*?)[\"\n]",
32-
"pipx install( --force)? (?<depName>.*?)==(?<currentValue>.*?)\n"
31+
"pip install.* (?<depName>.*?)(\\[.*?\\])?==(?<currentValue>.*?)[\"\n]",
32+
"pipx install( --force)? (?<depName>.*?)(\\[.*?\\])?==(?<currentValue>.*?)\\s"
3333
]
3434
},
3535
{

template/.renovaterc.json.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
[%- endif %]
3232
],
3333
"matchStrings": [
34-
"pip install.* (?<depName>.*?)==(?<currentValue>.*?)[\"\n]",
35-
"pipx install( --force)? (?<depName>.*?)==(?<currentValue>.*?)\n"
34+
"pip install.* (?<depName>.*?)(\\[.*?\\])?==(?<currentValue>.*?)[\"\n]",
35+
"pipx install( --force)? (?<depName>.*?)(\\[.*?\\])?==(?<currentValue>.*?)\\s"
3636
]
3737
},
3838
{

0 commit comments

Comments
 (0)