Skip to content

Commit e4accb0

Browse files
committed
update: move pyright to run on explicit request
- Avoids issues with IDE integration - Already checked in workflows - Keeps hooks fast
1 parent 3bb1f43 commit e4accb0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ repos:
3838
entry: pyright
3939
language: system
4040
types: [python]
41+
stages:
42+
- manual
4143

4244
# Disabling pylint in favor of ruff.
4345
# - id: pylint

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ help:
77

88
lint:
99
pre-commit run --all-files
10+
pre-commit run --all-files --hook-stage manual pyright
1011

1112
set-up-hooks:
1213
pre-commit install

0 commit comments

Comments
 (0)