diff --git a/renovate.json b/renovate.json index 6e14ef5..429853a 100644 --- a/renovate.json +++ b/renovate.json @@ -11,6 +11,18 @@ "matchStrings": [ "# renovate: datasource=(?[a-z-]+?) depName=(?[^\\s]+?)(?: packageName=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?.+?)\\s" ] + }, + { + "customType": "regex", + "description": "Update Python version in Unit config", + "fileMatch": [".*"], + "matchStrings": [ + "\"type\":\\s*\"python (?(?\\d+)\\.(?\\d+))\"" + ], + "currentValueTemplate": "{{{major}}}.{{{minor}}}", + "datasourceTemplate": "python-version", + "versioningTemplate": "python", + "depNameTemplate": "python" } ] }