Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:best-practices", ":semanticCommits"],
"enabledManagers": ["pre-commit", "custom.regex"],
"pre-commit": {
"enabled": true
},
"repositories": ["ArduPilot/MethodicConfigurator"],
"platform": "github",
"includePaths": [
Expand Down Expand Up @@ -48,9 +51,7 @@
"pin": {"enabled": true},
"dependencyDashboard": true,
"osvVulnerabilityAlerts": true,
"vulnerabilityAlerts": {
"enabled": true
},
"vulnerabilityAlerts": {"enabled": true},
"ignorePaths": ["**/node_modules/**", "**/bower_components/**", "**/.git/**"],
"customManagers": [
{
Expand Down Expand Up @@ -119,6 +120,12 @@
"datasourceTemplate": "pypi",
"currentValueTemplate": "latest"
},
{
"customType": "regex",
"managerFilePatterns": ["/\\.sh$/", "/\\.bash$/"],
"matchStrings": ["uv pip install[^\"\\n]*\"(?<depName>[^\"=]+)==(?<currentValue>[^\"]+)\""],
"datasourceTemplate": "pypi"
},
{
"customType": "regex",
"managerFilePatterns": ["/\\.bat$/"],
Expand All @@ -139,7 +146,7 @@
{
"customType": "regex",
"managerFilePatterns": ["/\\.py$/"],
"matchStrings": ["required_packages = \\[[^\\]]*\"(?<depName>[^\"]+)\""],
"matchStrings": ["required_packages = \\[[^\\]]*\"(?<depName>[^\"=]+)==(?<currentValue>[^\"]+)\""],
"datasourceTemplate": "pypi",
"currentValueTemplate": "latest"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_pdef.xml_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

def ensure_dependencies() -> None:
"""Check for and install required dependencies if they're missing."""
required_packages = ["lxml"]
required_packages = ["lxml==6.0.2"]

for package in required_packages:
if importlib.util.find_spec(package) is None:
Expand Down
Loading