Skip to content

Add pyrefly and pyrefly-docs configuration#2768

Merged
adamtheturtle merged 3 commits intomainfrom
add-pyrefly
Dec 26, 2025
Merged

Add pyrefly and pyrefly-docs configuration#2768
adamtheturtle merged 3 commits intomainfrom
add-pyrefly

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Dec 26, 2025

Add pyrefly type checker and pyrefly-docs hooks to pre-commit configuration.


Note

Introduces pyrefly checks and tightens JSON parsing types to align with stricter type checking.

  • Adds pyrefly and pyrefly-docs hooks to .pre-commit-config.yaml (pre-push) and includes pyrefly in dev dependencies in pyproject.toml
  • Updates src/vws/vws.py to explicitly cast API response fields when building TargetRecord, TargetSummaryReport, and DatabaseSummaryReport (e.g., bool, int, float, str)

Written by Cursor Bugbot for commit 495f004. This will update automatically on new commits. Configure here.

@adamtheturtle adamtheturtle merged commit daa89a2 into main Dec 26, 2025
10 checks passed
@adamtheturtle adamtheturtle deleted the add-pyrefly branch December 26, 2025 15:28
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