Skip to content

Commit

Permalink
feat: tweak missing templates output
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Nov 8, 2024
1 parent 7af7480 commit d91363e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wikidict/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ def check_for_missing_templates() -> bool:
for tpl, _ in sorted(missings_counts.items(), key=lambda x: x[1], reverse=True):
words = sorted(missings[tpl])
log.warning(
"Missing %r template support (%s times), example in: %s",
"Missing `%s` template support (%s times), example in: %s",
tpl,
f"{len(words):,}",
", ".join(f'"{word}"' for word in words[:3]),
", ".join(f"`{word}`" for word in words[:3]),
)
log.warning("Unhandled templates count: %s", f"{len(missings_counts):,}")
return True
Expand Down

0 comments on commit d91363e

Please sign in to comment.