Skip to content

Commit 1f86c36

Browse files
authored
Merge pull request #14619 from Mab879/fix_ruff_2026_04_03
Fix error message for no platform on fix
2 parents 90b6371 + 3996b7f commit 1f86c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssg/fixes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def applicable_platforms(fix_path):
7777
_, config = parse_from_file_without_jinja(fix_path)
7878

7979
if 'platform' not in config:
80-
raise ValueError("Malformed fix: missing platform" % fix_path)
80+
raise ValueError("Malformed fix: missing platform in %s" % fix_path)
8181

8282
return parse_platform(config['platform'])
8383

0 commit comments

Comments
 (0)