From 0f4e76f142d90ca1287a11ccd75830bafd2f140d Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Thu, 7 Nov 2024 23:33:34 +1100 Subject: [PATCH] Update pre-commit hooks (#2777) * Add missing pydantic dependencies to pre-commit mypy hook * Add pylint to pre-commit checks --- .pre-commit-config.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b97a7a170..3c0acdd70 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,19 @@ repos: hooks: - id: mypy fail_fast: true + additional_dependencies: + - pydantic + - pydantic-settings - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.7.2 hooks: - id: ruff + - repo: local + hooks: + - id: pylint + name: pylint + entry: pylint + language: system + types: [python] + fail_fast: true + require_serial: true