Compare commits

...

2 commits

Author SHA1 Message Date
ItsDrike 4720ec7c10
Add py.typed file 2024-06-30 22:23:58 +02:00
ItsDrike 14ed761b64
Add pyright to pre-commit 2024-06-30 22:03:07 +02:00
2 changed files with 10 additions and 0 deletions

View file

@ -32,3 +32,13 @@ repos:
language: system
types_or: [python, pyi]
require_serial: true
- repo: local
hooks:
- id: pyright
name: Pyright
description: Run pyright type checker
entry: poetry run pyright
language: system
types: [python]
pass_filenames: false # pyright runs for the entire project, it can't run for single files

0
src/py.typed Normal file
View file