{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["config:best-practices"],
  "rebaseWhen": "never",
  "lockFileMaintenance": {
    "enabled": true
  },
  "packageRules": [
    {
      "matchUpdateTypes": ["minor", "patch"],
      "automerge": true
    },
    {
      "matchDatasources": ["python-version"],
      "enabled": false
    },
    {
      "matchFileNames": [".python-version"],
      "enabled": false
    },
    {
      "matchManagers": ["github-actions", "pre-commit", "poetry"],
      "enabled": false
    },
    {
      "matchManagers": ["pep621"],
      "rangeStrategy": "bump",
      "versioning": "pep440",
      "groupName": "Python dependencies"
    },
    {
      "matchPackageNames": ["numpy", "setuptools"],
      "enabled": false,
      "description": "Disabled due to Python 3.10 incompatibility with numpy>=2.3.2 (requires Python>=3.11)"
    }
  ]
}
