version: 2
updates:
  - package-ecosystem: "docker"
    directory: "/"
    schedule:
      interval: weekly
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: weekly
    open-pull-requests-limit: 2
  - package-ecosystem: "pip"
    directory: "/requirements"
    schedule:
      interval: "daily"
    commit-message:
      prefix: chore
      include: scope
    open-pull-requests-limit: 10
    groups:
      types:
        patterns:
          - "types-*"
      pytest:
        patterns:
          - "pytest-*"
        exclude-patterns:
          # ignore metadata and json-report since newer versions conflict
          # as of writing this
          - "pytest-metadata"
          - "pytest-json-report"
