Skip to content

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 aligns CLI option decorators with stricter typing.

  • Add pre-push hooks pyrefly and pyrefly-docs in .pre-commit-config.yaml and include them in CI skip list
  • Add pyrefly==0.46.1 to dev dependencies in pyproject.toml
  • Refactor vws_cli/options/credentials.py and vws_cli/options/targets.py:
    • Switch option decorator signatures/variables to Callable[..., Any]
    • Return click.option(...)(command) directly and remove intermediate variables/asserts

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

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

2 participants