Skip to content

lint fixes, formatting, type hints, doc stubs etc#208

Merged
tazlin merged 6 commits intomainfrom
v3-cleanups
Apr 22, 2026
Merged

lint fixes, formatting, type hints, doc stubs etc#208
tazlin merged 6 commits intomainfrom
v3-cleanups

Conversation

@tazlin
Copy link
Copy Markdown
Member

@tazlin tazlin commented Apr 22, 2026

This is a primarily clean-up PR and the commits are self-explanatory.

  • The prettier applied whitespace changes are to keep the formatting of md (and aux files) from the web-based projects (such as AiHordeFrontpage) consistent with its submodule haidra-assets which horde-model-reference shares.
    • This prevents constant thrashing when running npx prettier in one repo, causes submodule changes which inherently conflict with other repositories.
    • Being mostly markdown files affected, this doesn't have an impact on the python files themselves, and most of the other files that are affected (such as the github workflows) have only convention based changes (such as single vs double quotes) that do not have a functional impact.

tazlin added 6 commits April 22, 2026 13:47
- annotate pytest_collection_modifyitems signature and add a type-ignore for module_mapping; import and use typing.Any in tests
-  add explicit dict[str, Any] and dict[str, dict[str, Any]] annotations
-  introduce a _CategoriesData alias in the GitHub sync tests; and minor refactors (primary_data variable) for readability.

These resolve typing issues which largely did not suggest any real problem with the actual implementations.
@tazlin tazlin merged commit f11999b into main Apr 22, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant