From 7e75094eb3b852ede532eed47c3c7d38ca56e2f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Thu, 16 Jan 2025 13:18:19 -0600 Subject: [PATCH] chore: Track tox `requires` with Renovate --- .github/renovate.json5 | 11 +++++++++++ tox.ini | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 167896b..e3f93d8 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -7,6 +7,17 @@ "reservoir-data/.github//.github/renovate.json5" ], + // https://docs.renovatebot.com/configuration-options/#custommanagers + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["tox.ini"], + "matchStrings": [ + "# renovate: datasource=(?.*?) depName=(?.*?)\\s+[A-Za-z0-9_](?.+?)\\s" + ] + } + ], + // https://docs.renovatebot.com/configuration-options/#packagerules "packageRules": [ { diff --git a/tox.ini b/tox.ini index 7e343a1..9681213 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,10 @@ [tox] min_version = 4.22 requires = - tox - tox-uv + # renovate: datasource=pypi depName=tox + tox~=4.22 + # renovate: datasource=pypi depName=tox-uv + tox-uv~=1.17 env_list = dependencies typing