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 to the tooling.

  • Adds pyrefly and pyrefly-docs pre-push hooks running pyrefly check (and doccmd variant) in .pre-commit-config.yaml
  • Pins pyrefly==0.46.1 in pyproject.toml dev dependencies
  • Updates CI skip list to include pyrefly hooks
  • Reformats several entry commands to multi-line for readability (no behavioral change)

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

to the VWS API with the given attributes.
"""
hashed = hashlib.md5(usedforsecurity=False)
hash = 1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated debugging code accidentally committed

The line hash = 1 appears to be accidentally committed code that is unrelated to the PR's stated purpose of adding pyrefly configuration. This variable is never used in the function - the actual hash computation uses the hashed variable. This looks like leftover debugging or test code that was mistakenly included in this commit. It also shadows Python's built-in hash function, though that isn't used in this context.

Fix in Cursor Fix in Web

@adamtheturtle adamtheturtle merged commit 9c32703 into main Dec 26, 2025
6 checks passed
@adamtheturtle adamtheturtle deleted the add-pyrefly branch December 26, 2025 14:59
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