Files
typeshed/.github/renovate.json

47 lines
1.5 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"suppressNotifications": ["prEditedNotification"],
"extends": ["config:base"],
"labels": ["dependencies"],
"pre-commit": {
"enabled": true
},
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^pyproject.toml$"],
"matchStrings": [
"\\n\\[tool\\.typeshed\\]\\npyright_version\\s*=\\s*(\"|')(?<currentValue>[\\d.]*?)(\"|')\\s*?\\n"
],
"depNameTemplate": "pyright",
"datasourceTemplate": "npm"
}
],
"packageRules": [
{
"groupName": "GitHub Actions",
"matchManagers": ["github-actions"],
"description": "Quarterly update of GitHub Action dependencies",
"separateMajorMinor": "false",
"schedule": ["every 3 months on the first day of the month"]
},
{
"groupName": "most test/lint dependencies",
"matchManagers": ["pip_requirements", "pre-commit"],
"excludePackageNames": ["pytype", "pyright"],
"description": "Quarterly update of most test dependencies",
"separateMajorMinor": "false",
"schedule": ["every 3 months on the first day of the month"]
},
{
"groupName": "pytype and pyright",
"matchManagers": ["pip_requirements", "regex"],
"matchPackageNames": ["pytype", "pyright"],
"description": "Daily update of pyright and pytype",
"separateMajorMinor": "false",
"schedule": ["before 4am"]
}
]
}