diff options
author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-02-17 22:11:14 +0000 |
---|---|---|
committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-02-18 01:58:05 +0000 |
commit | c8f4a03daceef4470ddbc34d5879ffd01588a116 (patch) | |
tree | b67cbca3c86b239e84e00b2ca5966e3c273ca18a /doc/development/tutorials | |
parent | 8de6638697b8c785f8022e1f526b549e74d033d1 (diff) | |
download | sphinx-git-c8f4a03daceef4470ddbc34d5879ffd01588a116.tar.gz |
Fix COM812
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 |