diff options
Diffstat (limited to 'doc/development/tutorials')
-rw-r--r-- | doc/development/tutorials/examples/autodoc_intenum.py | 2 | ||||
-rw-r--r-- | doc/development/tutorials/examples/recipe.py | 4 |
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 |