mirror of https://github.com/astral-sh/ruff
Include docs requirements for Renovate upgrades (#12724)
## Summary This PR updates the Renovate config to account for the `requirements*.txt` files in `docs/` directory. The `mkdocs-material` upgrade is ignored because we use commit SHA for the insider version and it should match the corresponding public version as per the docs: https://squidfunk.github.io/mkdocs-material/insiders/upgrade/ (`9.x.x-insiders-4.x.x`). ## Test Plan ```console ❯ renovate-config-validator (node:83193) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) INFO: Validating .github/renovate.json5 INFO: Config validated successfully ```
This commit is contained in:
parent
90e5bc2bd9
commit
50ff5c7544
|
|
@ -8,7 +8,7 @@
|
||||||
semanticCommits: "disabled",
|
semanticCommits: "disabled",
|
||||||
separateMajorMinor: false,
|
separateMajorMinor: false,
|
||||||
prHourlyLimit: 10,
|
prHourlyLimit: 10,
|
||||||
enabledManagers: ["github-actions", "pre-commit", "cargo", "pep621", "npm"],
|
enabledManagers: ["github-actions", "pre-commit", "cargo", "pep621", "pip_requirements", "npm"],
|
||||||
cargo: {
|
cargo: {
|
||||||
// See https://docs.renovatebot.com/configuration-options/#rangestrategy
|
// See https://docs.renovatebot.com/configuration-options/#rangestrategy
|
||||||
rangeStrategy: "update-lockfile",
|
rangeStrategy: "update-lockfile",
|
||||||
|
|
@ -16,6 +16,9 @@
|
||||||
pep621: {
|
pep621: {
|
||||||
fileMatch: ["^(python|scripts)/.*pyproject\\.toml$"],
|
fileMatch: ["^(python|scripts)/.*pyproject\\.toml$"],
|
||||||
},
|
},
|
||||||
|
pip_requirements: {
|
||||||
|
fileMatch: ["^docs/requirements.*\\.txt$"],
|
||||||
|
},
|
||||||
npm: {
|
npm: {
|
||||||
fileMatch: ["^playground/.*package\\.json$"],
|
fileMatch: ["^playground/.*package\\.json$"],
|
||||||
},
|
},
|
||||||
|
|
@ -48,6 +51,14 @@
|
||||||
matchManagers: ["cargo"],
|
matchManagers: ["cargo"],
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// `mkdocs-material` requires a manual update to keep the version in sync
|
||||||
|
// with `mkdocs-material-insider`.
|
||||||
|
// See: https://squidfunk.github.io/mkdocs-material/insiders/upgrade/
|
||||||
|
matchManagers: ["pip_requirements"],
|
||||||
|
matchPackagePatterns: ["mkdocs-material"],
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
groupName: "pre-commit dependencies",
|
groupName: "pre-commit dependencies",
|
||||||
matchManagers: ["pre-commit"],
|
matchManagers: ["pre-commit"],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue