File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 11{
22 "extends" : [
33 " config:recommended"
4+ ],
5+ "regexManagers" : [
6+ {
7+ "fileMatch" : [" ^\\ .github\\ /workflows\\ /.*\\ .ya?ml$" ],
8+ "matchStrings" : [
9+ // match: pip install package==1.2.3 (with optional -U/--upgrade and optional flags after version)
10+ " (?:pip(?:3)?\\ s+install(?:\\ s+(?:-U|--upgrade))?\\ s+)([A-Za-z0-9_.+\\ -]+(?:\\ [[^\\ ]]+\\ ])?)==(?<currentValue>\\ d+(?:\\ .\\ d+)*)"
11+ ],
12+ "datasourceTemplate" : " pypi" ,
13+ "depNameTemplate" : " $1"
14+ },
15+ {
16+ "fileMatch" : [" ^\\ .github\\ /workflows\\ /.*\\ .ya?ml$" ],
17+ "matchStrings" : [
18+ // match: pip install -r requirements.txt (capture filename)
19+ " (?:pip(?:3)?\\ s+install)\\ s+-r\\ s+([^\\ s]+)"
20+ ],
21+ "datasourceTemplate" : " file" ,
22+ "depNameTemplate" : " $1"
23+ }
424 ]
525}
You can’t perform that action at this time.
0 commit comments