Skip to content

Commit ff391e2

Browse files
committed
Test switching to pyrightpnodejs]
1 parent 39f2167 commit ff391e2

File tree

3 files changed

+32
-11
lines changed

3 files changed

+32
-11
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,19 @@ repos:
7777
- id: ruff-format
7878
name: format with ruff
7979

80-
- repo: https://github.com/RobertCraigie/pyright-python
81-
rev: v1.1.401
82-
hooks:
83-
- id: pyright
84-
alias: pyrightLocal
85-
name: Check types with pyright
86-
8780
# - repo: https://github.com/RobertCraigie/pyright-python
8881
# rev: v1.1.401
8982
# hooks:
9083
# - id: pyright
91-
# alias: pyrightCI
84+
# alias: pyrightLocal
9285
# name: Check types with pyright
86+
87+
- repo: https://github.com/RobertCraigie/pyright-python
88+
rev: v1.1.401
89+
hooks:
90+
- id: pyright
91+
# alias: pyrightCI
92+
name: Check types with pyright
9393
# use nodejs version of pyright and install pyproject.toml for CI
9494
# additional_dependencies: [".", "pyright[nodejs]"]
9595
# stages: [manual] # Only run from CI manually

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
[dependency-groups]
1414
dev = [
1515
"pre-commit>=4.2.0",
16-
"pyright>=1.1.401",
16+
"pyright[nodejs]>=1.1.401",
1717
"ruff>=0.11.12",
1818
]
1919

uv.lock

Lines changed: 23 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)