Skip to content

Commit 0f00530

Browse files
committed
We're not enforcing a topic yet
1 parent fc813fe commit 0f00530

File tree

1 file changed

+1
-7
lines changed
  • src/strict_syntax_health

1 file changed

+1
-7
lines changed

src/strict_syntax_health/cli.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,6 @@ def _generate_results_section(
17941794
if r["errors"] == 0
17951795
and r["warnings"] == 0
17961796
and r.get("prints_help") is True
1797-
and r.get("has_versions_mix") is False
17981797
)
17991798
zero_error_percentage = (zero_error_count / len(results) * 100) if results else 0
18001799
zero_error_label = f"- **Zero issues:** {zero_error_count} {type_name} ({zero_error_percentage:.1f}%)"
@@ -1962,12 +1961,7 @@ def _generate_results_section(
19621961
# For modules: also require has_topics and has_versions in meta.yml
19631962
# For subworkflows: also require the versions output channel is absent
19641963
if show_prints_help:
1965-
_has_vm_status = result.get("has_versions_mix")
1966-
status_emoji = (
1967-
":white_check_mark:"
1968-
if errors == 0 and warnings == 0 and prints_help is True and _has_vm_status is False
1969-
else ":x:"
1970-
)
1964+
status_emoji = ":white_check_mark:" if errors == 0 and warnings == 0 and prints_help is True else ":x:"
19711965
elif type_name == "modules":
19721966
status_emoji = (
19731967
":white_check_mark:"

0 commit comments

Comments
 (0)