summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-08-01 20:45:40 +0200
committerJohn Villalovos <john@sodarock.com>2021-08-22 22:25:14 -0700
commit38597e71a7dd12751b028f9451587f781f95c18f (patch)
treec74fe9911f833cd36f16031e0ac2807b5793f696
parentbd50df6b963af39b70ea2db50fb2f30b55ddc196 (diff)
downloadgitlab-38597e71a7dd12751b028f9451587f781f95c18f.tar.gz
chore(deps): group typing requirements with mypy additional_dependencies
-rw-r--r--.pre-commit-config.yaml1
-rw-r--r--.renovaterc.json10
2 files changed, 10 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 34a33b6..b6b38bf 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -25,6 +25,5 @@ repos:
hooks:
- id: mypy
additional_dependencies:
- # todo: sync with pip deps via renovate regex manager
- types-PyYAML==5.4.3
- types-requests==2.25.1
diff --git a/.renovaterc.json b/.renovaterc.json
index 319e22b..df0650f 100644
--- a/.renovaterc.json
+++ b/.renovaterc.json
@@ -12,12 +12,22 @@
"depNameTemplate": "gitlab/gitlab-ce",
"datasourceTemplate": "docker",
"versioningTemplate": "loose"
+ },
+ {
+ "fileMatch": ["^.pre-commit-config.yaml$"],
+ "matchStrings": ["- (?<depName>.*?)==(?<currentValue>.*?)\n"],
+ "datasourceTemplate": "pypi",
+ "versioningTemplate": "pep440"
}
],
"packageRules": [
{
"packagePatterns": ["^gitlab\/gitlab-.+$"],
"automerge": true
+ },
+ {
+ "matchPackagePrefixes": ["types-"],
+ "groupName": "typing dependencies"
}
]
}