From 5fd9c2bfb599f24aba368959c25f3d742e1fc36a Mon Sep 17 00:00:00 2001 From: Alexander-D-Karpov Date: Thu, 16 Feb 2023 01:12:50 +0300 Subject: [PATCH] updated pre-commit --- .gitignore | 2 ++ .pre-commit-config.yaml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index a8d71cb..d71c9e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.idea + ### Python template # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 54926ef..2cca3e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,6 +32,12 @@ repos: args: ["--config=setup.cfg"] additional_dependencies: [flake8-isort] + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v1.0.0 + hooks: + - id: mypy + args: ["--config=setup.cfg"] + # sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date ci: autoupdate_schedule: weekly