Skip to content

Commit 998ab36

Browse files
committed
upating pyright and restoring its precommit
1 parent 8113c42 commit 998ab36

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ repos:
1414
rev: v0.6.3
1515
hooks:
1616
- id: ruff
17-
# - repo: https://github.com/RobertCraigie/pyright-python
18-
# rev: v1.1.379
19-
# hooks:
20-
# - id: pyright
21-
# name: pyright (system)
22-
# description: 'pyright static type checker'
23-
# entry: pyright
24-
# language: system
25-
# 'types_or': [python, pyi]
26-
# require_serial: true
27-
# minimum_pre_commit_version: '2.9.2'
17+
- repo: https://github.com/RobertCraigie/pyright-python
18+
rev: v1.1.381
19+
hooks:
20+
- id: pyright
21+
name: pyright (system)
22+
description: 'pyright static type checker'
23+
entry: pyright
24+
language: system
25+
'types_or': [python, pyi]
26+
require_serial: true
27+
minimum_pre_commit_version: '2.9.2'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ lint = [
5454
"libzim[build]",
5555
]
5656
check = [
57-
"pyright==1.1.379",
57+
"pyright==1.1.381",
5858
"libzim",
5959
"libzim[build]",
6060
"libzim[test]",

0 commit comments

Comments
 (0)