awesome-python/website
Vinta Chen 0630ee973b
refactor(build): flatten extract_entries and annotate result dict
Collapse the if-seen/else-new branches so the category/group/subcategory
merge logic runs once per entry unconditionally, appending to empty lists
on first sight instead of duplicating the append logic in the else branch.

Annotate seen and entries as dict[str, Any] so ty can resolve the mixed
value types (str, list, None) in each entry dict.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-19 22:04:14 +08:00
..
static adjust css 2026-04-19 21:34:14 +08:00
templates feat(website): add sponsors section parsed from README 2026-04-19 21:10:50 +08:00
tests refactor(build): inline format_stars_short into its call site 2026-04-19 22:00:45 +08:00
build.py refactor(build): flatten extract_entries and annotate result dict 2026-04-19 22:04:14 +08:00
fetch_github_stars.py refactor: replace manual total_seconds()/3600 with timedelta comparison 2026-04-19 22:02:14 +08:00
readme_parser.py refactor(readme_parser): inline _is_leading_link at its call site 2026-04-19 21:59:59 +08:00