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