|
19 | 19 | "enabled": false
|
20 | 20 | },
|
21 | 21 | "pip_requirements": {
|
22 |
| - "fileMatch": [ |
23 |
| - "(^|/)requirements[\\w-]*\\.txt$" |
| 22 | + "managerFilePatterns": [ |
| 23 | + "/(^|/)requirements[\\w-]*\\.txt$/" |
24 | 24 | ]
|
25 | 25 | },
|
26 |
| - "regexManagers": [ |
| 26 | + "customManagers": [ |
27 | 27 | {
|
28 |
| - "fileMatch": ["^\\.pre-commit-config\\.yaml$"], |
29 |
| - "matchStrings": ["(?<depName>[\\w-]+)(?<currentValue>==[a-z0-9.]+)"], |
| 28 | + "customType": "regex", |
| 29 | + "managerFilePatterns": [ |
| 30 | + "/^\\.pre-commit-config\\.yaml$/" |
| 31 | + ], |
| 32 | + "matchStrings": [ |
| 33 | + "(?<depName>[\\w-]+)(?<currentValue>==[a-z0-9.]+)" |
| 34 | + ], |
30 | 35 | "datasourceTemplate": "pypi"
|
31 | 36 | }
|
32 | 37 | ],
|
33 |
| - "labels": ["bot"], |
| 38 | + "labels": [ |
| 39 | + "bot" |
| 40 | + ], |
34 | 41 | "packageRules": [
|
35 | 42 | {
|
36 |
| - "matchFiles": ["test/requirements.txt"], |
| 43 | + "matchFileNames": [ |
| 44 | + "test/requirements.txt" |
| 45 | + ], |
37 | 46 | "semanticCommitType": "test"
|
38 | 47 | },
|
39 | 48 | {
|
40 |
| - "matchManagers": ["pre-commit"], |
| 49 | + "matchManagers": [ |
| 50 | + "pre-commit" |
| 51 | + ], |
41 | 52 | "commitMessageTopic": "{{depName}}",
|
42 | 53 | "semanticCommitScope": "pre-commit"
|
43 | 54 | },
|
44 | 55 | {
|
45 |
| - "matchPackagePatterns": ["(^|/)gitlint$"], |
46 | 56 | "versioning": "pep440",
|
47 |
| - "groupName": "gitlint" |
| 57 | + "groupName": "gitlint", |
| 58 | + "matchPackageNames": [ |
| 59 | + "/(^|/)gitlint$/" |
| 60 | + ] |
48 | 61 | },
|
49 | 62 | {
|
50 |
| - "matchPackageNames": ["perltidy/perltidy"], |
| 63 | + "matchPackageNames": [ |
| 64 | + "perltidy/perltidy" |
| 65 | + ], |
51 | 66 | "versioning": "regex:^(?<major>\\d{8})$"
|
52 | 67 | },
|
53 | 68 | {
|
54 |
| - "matchPackagePatterns": ["(^|/)ruff(-pre-commit)?$"], |
55 | 69 | "groupName": "ruff",
|
56 |
| - "versioning": "pep440" |
| 70 | + "versioning": "pep440", |
| 71 | + "matchPackageNames": [ |
| 72 | + "/(^|/)ruff(-pre-commit)?$/" |
| 73 | + ] |
57 | 74 | },
|
58 | 75 | {
|
59 | 76 | "matchPackageNames": [
|
|
0 commit comments