summaryrefslogtreecommitdiff
path: root/doc/development/tutorials
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-17 22:11:14 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-18 01:58:05 +0000
commitc8f4a03daceef4470ddbc34d5879ffd01588a116 (patch)
treeb67cbca3c86b239e84e00b2ca5966e3c273ca18a /doc/development/tutorials
parent8de6638697b8c785f8022e1f526b549e74d033d1 (diff)
downloadsphinx-git-c8f4a03daceef4470ddbc34d5879ffd01588a116.tar.gz
Fix COM812
Diffstat (limited to 'doc/development/tutorials')
-rw-r--r--doc/development/tutorials/examples/autodoc_intenum.py2
-rw-r--r--doc/development/tutorials/examples/recipe.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/tutorials/examples/autodoc_intenum.py b/doc/development/tutorials/examples/autodoc_intenum.py
index 67955600f..6080ca4a5 100644
--- a/doc/development/tutorials/examples/autodoc_intenum.py
+++ b/doc/development/tutorials/examples/autodoc_intenum.py
@@ -31,7 +31,7 @@ class IntEnumDocumenter(ClassDocumenter):
def add_content(self,
more_content: StringList | None,
- no_docstring: bool = False
+ no_docstring: bool = False,
) -> None:
super().add_content(more_content, no_docstring)
diff --git a/doc/development/tutorials/examples/recipe.py b/doc/development/tutorials/examples/recipe.py
index 6bfd99900..c7ebf2a93 100644
--- a/doc/development/tutorials/examples/recipe.py
+++ b/doc/development/tutorials/examples/recipe.py
@@ -102,14 +102,14 @@ class RecipeDomain(Domain):
name = 'recipe'
label = 'Recipe Sample'
roles = {
- 'ref': XRefRole()
+ 'ref': XRefRole(),
}
directives = {
'recipe': RecipeDirective,
}
indices = {
RecipeIndex,
- IngredientIndex
+ IngredientIndex,
}
initial_data = {
'recipes': [], # object list