Skip to content

Commit 38597e7

Browse files
nejchJohnVillalovos
authored andcommitted
chore(deps): group typing requirements with mypy additional_dependencies
1 parent bd50df6 commit 38597e7

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ repos:
2525
hooks:
2626
- id: mypy
2727
additional_dependencies:
28-
# todo: sync with pip deps via renovate regex manager
2928
- types-PyYAML==5.4.3
3029
- types-requests==2.25.1

.renovaterc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,22 @@
1212
"depNameTemplate": "gitlab/gitlab-ce",
1313
"datasourceTemplate": "docker",
1414
"versioningTemplate": "loose"
15+
},
16+
{
17+
"fileMatch": ["^.pre-commit-config.yaml$"],
18+
"matchStrings": ["- (?<depName>.*?)==(?<currentValue>.*?)\n"],
19+
"datasourceTemplate": "pypi",
20+
"versioningTemplate": "pep440"
1521
}
1622
],
1723
"packageRules": [
1824
{
1925
"packagePatterns": ["^gitlab\/gitlab-.+$"],
2026
"automerge": true
27+
},
28+
{
29+
"matchPackagePrefixes": ["types-"],
30+
"groupName": "typing dependencies"
2131
}
2232
]
2333
}

0 commit comments

Comments
 (0)