Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
78 lines (78 loc) · 2.05 KB
/
Copy pathrenovate.json
File metadata and controls
78 lines (78 loc) · 2.05 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
70
71
72
73
74
75
76
77
78
{
"$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": [
{
"matchPackageNames": [
"mypy",
"ruff",
"pre-commit",
"pre-commit/pre-commit-hooks",
"pre-commit/mirrors-mypy",
"dev/flake8",
"pycqa/flake8",
"astral-sh/ruff-pre-commit",
"astral-sh/ruff-action",
"actions/checkout",
"actions/setup-python",
"pytest",
"pylint"
],
"automerge": true,
"minimumReleaseAge": "3 days"
},
{
"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
}
]
}