Skip to content

Commit

Permalink
upating pyright and restoring its precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Sep 23, 2024
1 parent 8113c42 commit 998ab36
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ repos:
rev: v0.6.3
hooks:
- id: ruff
# - repo: https://github.com/RobertCraigie/pyright-python
# rev: v1.1.379
# hooks:
# - id: pyright
# name: pyright (system)
# description: 'pyright static type checker'
# entry: pyright
# language: system
# 'types_or': [python, pyi]
# require_serial: true
# minimum_pre_commit_version: '2.9.2'
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.381
hooks:
- id: pyright
name: pyright (system)
description: 'pyright static type checker'
entry: pyright
language: system
'types_or': [python, pyi]
require_serial: true
minimum_pre_commit_version: '2.9.2'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ lint = [
"libzim[build]",
]
check = [
"pyright==1.1.379",
"pyright==1.1.381",
"libzim",
"libzim[build]",
"libzim[test]",
Expand Down

0 comments on commit 998ab36

Please sign in to comment.