diff --git a/renovate.json5 b/renovate.json5 index 03b26972..7d9ecead 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -54,15 +54,15 @@ }, ], - // https://docs.renovatebot.com/configuration-options/#regexmanagers - regexManagers: [ + // https://docs.renovatebot.com/configuration-options/#custommanagers + customManagers: [ { - description: "Update PEP 440 Python dependencies", - fileMatch: ["^.+\\.ya?ml$"], - matchStrings: [ - '"(?[\\w-]+)(?.+?)",?[[:blank:]]+#[[:blank:]]*renovate: pep440-python-dependency\\s', - ], + description: "Update Ruff in Cargo.toml", + customType: "regex", + fileMatch: ["^Cargo\\.toml$"], + matchStrings: ['git = "https:\/\/github.com\/astral-sh\/ruff", tag = "v(?.*?)"'], datasourceTemplate: "pypi", + depNameTemplate: "ruff", }, ], }