We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7ba6e0 commit 24ad687Copy full SHA for 24ad687
1 file changed
src/extensions/score_metamodel/checks/check_options.py
@@ -103,7 +103,7 @@ def check_content(
103
):
104
need_options = get_need_type(app.config.needs_types, need["type"])
105
# ONLY requirements are needed to be checked here
106
- if "requirement" in need_options.get("tags",[]):
+ if "requirement" in need_options.get("tags", []):
107
# HINT: Seems that falsey evaluation of content fails without bool conversion.
108
if not bool(need["content"]):
109
msg = f"Need has no content. Content is mandatory for needs of type {need['type']}"
0 commit comments