We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda93aa commit 2492b90Copy full SHA for 2492b90
src/sphinx_codelinks/config.py
@@ -803,9 +803,8 @@ def convert_analyse_config(
803
except ValueError:
804
# If invalid comment_type, keep the string value
805
# Validation will catch this error later
806
- analyse_config_dict["comment_type"] = (
807
- src_discover.src_discover_config.comment_type
808
- ) # type: ignore[typeddict-item]
+ comment_type_str: str = src_discover.src_discover_config.comment_type
+ analyse_config_dict["comment_type"] = comment_type_str # type: ignore[typeddict-item]
809
810
return SourceAnalyseConfig(**analyse_config_dict)
811
0 commit comments