Skip to content

Commit

Permalink
chore(renovate): hint Renovate on Ruff in Cargo.toml (#692)
Browse files Browse the repository at this point in the history
* refactor(renovate): remove obsolete `pep440-python-dependency regex

* chore(renovate): hint Renovate on Ruff in `Cargo.toml`
  • Loading branch information
mkniewallner committed May 1, 2024
1 parent 30d8c9a commit 571a796
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
'"(?<depName>[\\w-]+)(?<currentValue>.+?)",?[[: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(?<currentValue>.*?)"'],
datasourceTemplate: "pypi",
depNameTemplate: "ruff",
},
],
}

0 comments on commit 571a796

Please sign in to comment.