Skip to content

Commit aadfdb6

Browse files
authored
⬆️ Update dependency management and automerge configuration (#565)
## Description This pull request improves the dependency management process and automerge behavior. It includes the following updates: - Updated pre-commit hooks to the latest versions. - Enabled automerge for minor version updates of stable dependencies. - Enabled automerge for lockfile update pull requests. - Explicitly added a lower version bound for the `sphinx` dependency. These changes ensure smoother dependency updates and improve overall development efficiency. ## Checklist: <!--- This checklist serves as a reminder of a couple of things that ensure your pull request will be merged swiftly. --> - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines --------- Signed-off-by: burgholzer <[email protected]>
1 parent aee33e9 commit aadfdb6

File tree

4 files changed

+30
-8
lines changed

4 files changed

+30
-8
lines changed

.github/renovate.json5

+12-5
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
enabled: true
88
},
99
lockFileMaintenance: {
10-
"enabled": true,
11-
// "automerge": true, disabled due to endless update loops caused by setuptools_scm
10+
enabled: true,
11+
automerge: true,
1212
},
1313
configMigration: true,
1414
labels: ["dependencies"],
@@ -30,9 +30,16 @@
3030
commitMessagePrefix: "⬆\uFE0F\uD83E\uDE9D",
3131
},
3232
{
33-
"description": "Automerge patch updates",
34-
"matchUpdateTypes": ["patch"],
35-
"automerge": true
33+
description: "Automerge patch updates",
34+
matchUpdateTypes: ["patch"],
35+
automerge: true
36+
},
37+
{
38+
description: "Automerge minor updates for stable dependencies",
39+
matchManagers: ["pep621", "pre-commit"],
40+
matchUpdateTypes: ["minor", "patch"],
41+
matchCurrentVersion: "!/^0/",
42+
automerge: true
3643
}
3744
]
3845
}

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ repos:
9090

9191
# Format configuration files with prettier
9292
- repo: https://github.com/rbubley/mirrors-prettier
93-
rev: v3.5.2
93+
rev: v3.5.3
9494
hooks:
9595
- id: prettier
9696
types_or: [yaml, markdown, html, css, scss, javascript, json]
@@ -126,7 +126,7 @@ repos:
126126

127127
# Check best practices for scientific Python code
128128
- repo: https://github.com/scientific-python/cookie
129-
rev: 2024.08.19
129+
rev: 2025.01.22
130130
hooks:
131131
- id: sp-repo-review
132132
additional_dependencies: ["repo-review[cli]"]
@@ -141,6 +141,6 @@ repos:
141141

142142
# Check the pyproject.toml file
143143
- repo: https://github.com/henryiii/validate-pyproject-schema-store
144-
rev: 2025.01.10
144+
rev: 2025.02.24
145145
hooks:
146146
- id: validate-pyproject

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,9 @@ docs = [
348348
"ipykernel>=6.29.5",
349349
"nbsphinx>=0.9.6",
350350
"sphinx-autodoc-typehints>=2.3.0",
351+
"sphinx>=7.4.7",
352+
"sphinx>=8.1.3; python_version >= '3.10'",
353+
"sphinx>=8.2.3; python_version >= '3.11'",
351354
]
352355
test = [
353356
"pytest>=8.3.4",

uv.lock

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)