-
-
Notifications
You must be signed in to change notification settings - Fork 739
Expand file tree
/
Copy pathrenovate.json
More file actions
69 lines (69 loc) · 1.9 KB
/
renovate.json
File metadata and controls
69 lines (69 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests"
],
"configMigration": true,
"pre-commit": {
"enabled": true
},
"customManagers": [
{
"customType": "regex",
"description": "Track runtime Python deps via Arch Linux repos instead of PyPI",
"managerFilePatterns": ["**/pyproject.toml"],
"matchStrings": [
"\"(?<depName>pyparted|pydantic|cryptography|textual|markdown-it-py|linkify-it-py)==(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "arch/python-{{{depName}}}",
"datasourceTemplate": "repology",
"versioningTemplate": "loose",
"extractVersionTemplate": "^(?<version>.+)-\\d+$"
},
{
"customType": "regex",
"description": "Track systemd_python via Arch Linux repos (different package name)",
"managerFilePatterns": ["**/pyproject.toml"],
"matchStrings": [
"\"systemd_python==(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "arch/python-systemd",
"datasourceTemplate": "repology",
"versioningTemplate": "loose",
"extractVersionTemplate": "^(?<version>.+)-\\d+$"
}
],
"packageRules": [
{
"matchDepTypes": [
"devDependencies"
],
"matchPackageNames": [
"mypy",
"ruff",
"pre-commit",
"pre-commit/pre-commit-hooks",
"pre-commit/mirrors-mypy",
"dev/flake8",
"pycqa/flake8",
"astral-sh/ruff-pre-commit"
],
"automerge": true
},
{
"description": "Disable PyPI updates for runtime deps tracked via Arch repos",
"matchDatasources": ["pypi"],
"matchPackageNames": [
"pyparted",
"pydantic",
"cryptography",
"textual",
"markdown-it-py",
"linkify-it-py",
"systemd_python"
],
"enabled": false
}
]
}