From c8f4a03daceef4470ddbc34d5879ffd01588a116 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Fri, 17 Feb 2023 22:11:14 +0000 Subject: Fix COM812 --- doc/development/tutorials/examples/autodoc_intenum.py | 2 +- doc/development/tutorials/examples/recipe.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/development/tutorials/examples') 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 -- cgit v1.2.1