From 326dbb42b4607356de46d2aec329e0552c799fc4 Mon Sep 17 00:00:00 2001 From: if Date: Wed, 26 Apr 2023 12:31:16 +0300 Subject: [PATCH] alive mypy --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d743f43..da7df8e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: - id: check-merge-conflict - id: trailing-whitespace - id: end-of-file-fixer -# - id: check-added-large-files + - id: check-added-large-files - id: detect-private-key - id: requirements-txt-fixer - id: check-ast @@ -64,11 +64,11 @@ repos: - id: python-check-blanket-noqa - id: python-use-type-annotations - id: text-unicode-replacement-char -# -# - repo: https://github.com/pre-commit/mirrors-mypy -# rev: v1.2.0 -# hooks: -# - id: mypy -# additional_dependencies: [ types-PyYAML==6.0.10, types_requests==2.28.8, types-ujson==5.6.0 ] -# args: [ --ignore-missing-imports, --warn-no-return, --warn-redundant-casts, --disallow-incomplete-defs ] -# exclude: ^setup.py + + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v1.2.0 + hooks: + - id: mypy + additional_dependencies: [ types-PyYAML==6.0.10, types_requests==2.28.8, types-ujson==5.6.0 ] + args: [ --ignore-missing-imports, --warn-no-return, --warn-redundant-casts, --disallow-incomplete-defs ] + exclude: ^setup.py