From 7dc2fceab89499cae4c154836550028758fd81c0 Mon Sep 17 00:00:00 2001 From: ilbumi Date: Sat, 10 Feb 2024 13:04:00 +0400 Subject: [PATCH] feat(project-automation): :label: update pre-commit hooks to include mypy type checking --- project/.pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/project/.pre-commit-config.yaml b/project/.pre-commit-config.yaml index f79f0a3..299c5df 100644 --- a/project/.pre-commit-config.yaml +++ b/project/.pre-commit-config.yaml @@ -11,3 +11,8 @@ repos: hooks: - id: ruff args: [ --config, config/ruff.toml, --fix ] +- repo: https://github.com/pre-commit/mirrors-mypy + rev: '' # Use the sha / tag you want to point at + hooks: + - id: mypy + args: [--config-file, config/mypy.ini] \ No newline at end of file