Mirror of Pyright for pre-commit, created with pre-commit-mirror-maker
. See github.com/pre-commit/prettier for an example of a pre-commit hook for a Node.js package.
Add this to your .pre-commit-config.yaml
:
- repo: https://github.com/ComPWA/pyright-pre-commit
rev: ""
hooks:
- id: pyright
then run pre-commit autoupdate
.