Skip to content

Commit 435ab73

Browse files
committed
Test new rules in renovate-presets repo
1 parent ba18664 commit 435ab73

File tree

3 files changed

+40
-7
lines changed

3 files changed

+40
-7
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ concurrency:
1717

1818
env:
1919
# renovate: datasource=python-version depName=python
20-
PYTHON_VERSION: 3.14.2
20+
PYTHON_VERSION: 3.14.1
2121
# renovate: datasource=pypi depName=uv
22-
UV_VERSION: 0.9.24
22+
UV_VERSION: 0.9.23
2323

2424
jobs:
2525
run-django-tests:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ repos:
1414
- id: pyproject-fmt
1515

1616
- repo: https://github.com/astral-sh/uv-pre-commit
17-
rev: 0.9.24
17+
rev: 0.9.23
1818
hooks:
1919
- id: uv-lock
2020

2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.14.11
22+
rev: v0.14.0
2323
hooks:
2424
- id: ruff-check
2525
args: ["--fix"]

renovate.json5

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,40 @@
1+
// Python related settings
12
{
23
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
// https://github.com/ulgens/renovate-presets
5-
"github>ulgens/renovate-presets:all.json5#v0.0.3",
4+
"packageRules": [
5+
{
6+
"groupName": "Python",
7+
"matchPackageNames": ["python"],
8+
},
9+
{
10+
"groupName": "Python Dependencies",
11+
"matchCategories": ["python"],
12+
},
13+
// Include Python packages with custom definitions
14+
{
15+
"groupName": "Python Dependencies",
16+
"matchDatasources": ["pypi"]
17+
},
18+
// Include Python & Python-related dependencies from non-PyPI sources
19+
{
20+
"groupName": "Python Dependencies",
21+
"matchPackageNames": [
22+
// Ruff related dependencies
23+
// git hooks
24+
// https://github.com/astral-sh/ruff-pre-commit
25+
"astral-sh/ruff-pre-commit",
26+
27+
// uv related dependencies
28+
// Docker image
29+
// https://docs.astral.sh/uv/guides/integration/docker/
30+
"ghcr.io/astral-sh/uv",
31+
// GitHub Actions layer
32+
// https://github.com/astral-sh/setup-uv
33+
"astral-sh/setup-uv",
34+
// git hooks
35+
// https://github.com/astral-sh/uv-pre-commit
36+
"astral-sh/uv-pre-commit",
37+
],
38+
},
639
],
740
}

0 commit comments

Comments
 (0)