Update pre-commit hooks (#2777)

* Add missing pydantic dependencies to pre-commit mypy hook

* Add pylint to pre-commit checks
This commit is contained in:
Daniel Girtler 2024-11-07 23:33:34 +11:00 committed by GitHub
parent 83ece36ec3
commit 0f4e76f142
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 0 deletions

View File

@ -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