From 1e3fd26c2d22ebe09bcc88ff23eb86c48a9a4190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bobo=20B=C3=A4ck=20Engstr=C3=B6m?= Date: Thu, 23 Oct 2025 12:39:40 +0200 Subject: [PATCH] chore(pre-commit): add additional dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When we include module imports, pyright is not able to find them when running under pre-commit. Signed-off-by: Bobo Bäck Engström --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d437ae9..af92b3d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,6 +15,8 @@ repos: rev: v1.1.399 hooks: - id: pyright + additional_dependencies: + - pymodbus[serial]>=3.11 - repo: https://github.com/compilerla/conventional-pre-commit rev: v4.2.0 hooks: