Skip to content

Commit 24ad687

Browse files
Formatting
1 parent e7ba6e0 commit 24ad687

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extensions/score_metamodel/checks/check_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def check_content(
103103
):
104104
need_options = get_need_type(app.config.needs_types, need["type"])
105105
# ONLY requirements are needed to be checked here
106-
if "requirement" in need_options.get("tags",[]):
106+
if "requirement" in need_options.get("tags", []):
107107
# HINT: Seems that falsey evaluation of content fails without bool conversion.
108108
if not bool(need["content"]):
109109
msg = f"Need has no content. Content is mandatory for needs of type {need['type']}"

0 commit comments

Comments
 (0)