File: dependabot.yml

package info (click to toggle)
python-beartype 0.22.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,504 kB
  • sloc: python: 85,502; sh: 328; makefile: 30; javascript: 18
file content (78 lines) | stat: -rw-r--r-- 3,289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
# --------------------( LICENSE                            )--------------------
# Copyright (c) 2014-2025 Beartype authors.
# See "LICENSE" for further details.
#
# --------------------( SYNOPSIS                           )--------------------
# Project-wide GitHub-specific Dependabot configuration.
#
# Dependabot is GitHub's homegrown solution for automated bumping of package
# dependencies, including both security and non-security bumps.
#
# --------------------( SEE ALSO                           )--------------------
# * Official documentation on file format, which is sufficiently deeply nested
#   that it will absolutely be broken by the time you eventually read this:
#   https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference
# * Unofficial third-party blog post strongly inspiring this Python-centric
#   Dependabot configuration:
#   https://til.simonwillison.net/github/dependabot-python-setup

# ....................{ PREAMBLE                           }....................
# To quote the official Dependabot documentation:
#     "Dependabot configuration syntax to use. Always: 2."
#
# ...wat? If this magic number is *ALWAYS* "2", then just default this magic
# number to "2" already, Dependabot. Don't make boilerplate worse than
# boilerplate has to be, Dependabot. Come on! Work with us here.
version: 2

# ....................{ BUMP                               }....................
# List of all packaging ecosystems to be automatically bumped by Dependabot.
updates:
  # ....................{ GITHUB ACTIONS                   }....................
  # GitHub Actions.
  - package-ecosystem: 'github-actions'

    # Find the ".github/workflows/" subdirectory relative to the top-level
    # directory of this repository, Dependabot.
    directory: '/'

    # Bump dependencies on a somewhat relaxed (but still rigorous enough)
    # cadence that doesn't destroy our will to code, Dependabot.
    schedule:
      interval: 'weekly'

    # Group two or more dependency bumps into a single pull request (PR) to
    # preserve our will to code, Dependabot.
    groups:
      github-actions:  # <-- arbitrary group name
        patterns:
          - '*'

  # ....................{ PYTHON                           }....................
  # Python.
  - package-ecosystem: 'pip'

    # Find the root "pyproject.toml" file relative to the top-level directory of
    # this repository, Dependabot.
    directory: '/'

    # Bump dependencies on a somewhat relaxed (but still rigorous enough)
    # cadence that doesn't destroy our will to code, Dependabot.
    schedule:
      interval: 'weekly'

    # Group two or more dependency bumps into a single pull request (PR) to
    # preserve our will to code, Dependabot.
    groups:
      python-packages:  # <-- arbitrary group name
        patterns:
          - '*'

    # List of all dependencies to *NOT* be automatically bumped, Dependabot.
    ignore:
      # Ignore Sphinx and all reverse dependencies thereof. Our Sphinx-based
      # documentation site is archived as a frozen (read-only) snapshot *NOT*
      # intended to be updated, maintained, modified, or edited... Ever.
      - dependency-name: 'sphinx'
      - dependency-name: 'pydata-sphinx-theme'