From 26fb79acb93e14fcda1a9c8d9cac52a15d55f275 Mon Sep 17 00:00:00 2001 From: Maria Fernanda Magallanes Zubillaga Date: Mon, 26 Aug 2024 16:56:10 -0500 Subject: [PATCH] docs: add documentation about the type ignore --- tutorpicasso/commands/enable_themes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutorpicasso/commands/enable_themes.py b/tutorpicasso/commands/enable_themes.py index 5d01b58..a97e24f 100644 --- a/tutorpicasso/commands/enable_themes.py +++ b/tutorpicasso/commands/enable_themes.py @@ -21,6 +21,9 @@ def enable_themes() -> None: if not tutor_conf.get("PICASSO_THEMES"): return + # We use `type: ignore` for the `tutor_conf` object + # because it comes from the Tutor framework. + # We are not handle type errors related to this object. for theme in tutor_conf["PICASSO_THEMES"]: # type: ignore if not {"name", "repo", "version"}.issubset(theme.keys()): # type: ignore raise click.ClickException(