Skip to content

Commit 8150994

Browse files
committed
chore(pre-commit): add pyright for Python type checking
Add pyright as a pre-commit hook to enable static type checking for Python files. This helps catch type errors early and improves code quality. The hook is configured to use the system Python environment.
1 parent bf9e0bf commit 8150994

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,8 @@ repos:
5252
entry: mypy
5353
language: system
5454
types: [python]
55+
- id: pyright
56+
name: pyright
57+
entry: pyright
58+
language: system
59+
types: [python]

0 commit comments

Comments
 (0)