From 0e36eebe687df8dfff0cbd02bc3a7777b4d631b9 Mon Sep 17 00:00:00 2001 From: Pouyanpi <13303554+Pouyanpi@users.noreply.github.com> Date: Tue, 22 Apr 2025 15:01:23 +0200 Subject: [PATCH] chore: add pyright for static type checking --- .pre-commit-config.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5e248067d..0c818f3d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: rev: 5.12.0 hooks: - id: isort - args: [ "--profile", "black" ] + args: ["--profile", "black"] name: isort (python) - repo: https://github.com/psf/black rev: 23.3.0 @@ -23,7 +23,10 @@ repos: args: - --license-filepath - LICENSE.md - + - repo: https://github.com/RobertCraigie/pyright-python + rev: v1.1.399 + hooks: + - id: pyright # Deactivating this for now. # - repo: https://github.com/pycqa/pylint # rev: v2.17.0