Skip to content

Commit 91d7911

Browse files
authored
Merge pull request #64 from cclauss/patch-1
Keep GitHub Actions up to date with GitHub's Dependabot
2 parents f4dfbbd + d89bf69 commit 91d7911

File tree

10 files changed

+22
-0
lines changed

10 files changed

+22
-0
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Keep GitHub Actions up to date with GitHub's Dependabot...
2+
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
3+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
4+
version: 2
5+
updates:
6+
- package-ecosystem: github-actions
7+
directory: /
8+
groups:
9+
github-actions:
10+
patterns:
11+
- "*" # Group all Actions updates into a single larger pull request
12+
schedule:
13+
interval: weekly

sphinxcontrib_django/docstrings/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* Fix the intersphinx mappings to the Django documentation
1515
(see :mod:`~sphinxcontrib_django.docstrings.patches`)
1616
"""
17+
1718
from __future__ import annotations
1819

1920
import importlib

sphinxcontrib_django/docstrings/attributes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
This module contains all functions which are used to improve the documentation of attributes.
33
"""
4+
45
from __future__ import annotations
56

67
from django.db import models

sphinxcontrib_django/docstrings/classes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
This module contains all functions which are used to improve the documentation of classes.
33
"""
4+
45
from __future__ import annotations
56

67
from typing import TYPE_CHECKING

sphinxcontrib_django/docstrings/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
This module contains configuration of the members which should in-/excluded in sphinx
33
(see :event:`autodoc-skip-member`)
44
"""
5+
56
#: Ensure that the __init__ method gets documented (also see :confval:`autoclass_content` setting)
67
INCLUDE_MEMBERS = {"__init__"}
78

sphinxcontrib_django/docstrings/field_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
:mod:`~sphinxcontrib_django.docstrings.attributes` and
44
:mod:`~sphinxcontrib_django.docstrings.classes` modules.
55
"""
6+
67
from __future__ import annotations
78

89
from typing import TYPE_CHECKING

sphinxcontrib_django/docstrings/methods.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
This module contains all functions which are used to improve the documentation of methods.
33
"""
4+
45
import re
56

67
RE_GET_FOO_DISPLAY = re.compile(r"\.get_(?P<field>[a-zA-Z0-9_]+)_display$")

sphinxcontrib_django/docstrings/patches.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
This module contains patches for Django to improve its interaction with Sphinx.
33
"""
4+
45
import contextlib
56

67
from django import apps, forms, test

sphinxcontrib_django/roles.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"sphinxcontrib_django.roles",
2222
]
2323
"""
24+
2425
from __future__ import annotations
2526

2627
import logging

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
https://github.com/sphinx-doc/sphinx/issues/7008), so this setup was created using the given code
44
snippets and the existing test cases for the autodoc extension.
55
"""
6+
67
from unittest.mock import Mock
78

89
import pytest

0 commit comments

Comments
 (0)