From 84a19811aab954e2eaf8d74beb15daf7ff94151f Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 18 Mar 2022 14:04:24 +0000 Subject: [PATCH] pre-commit: Additional mypy dependencies & update versions --- .pre-commit-config.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 25f6535..cf92c4a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 'v3.4.0' + rev: 'v4.1.0' hooks: - id: check-merge-conflict - id: debug-statements @@ -30,7 +30,7 @@ repos: types: [ python ] - repo: https://github.com/pre-commit/pygrep-hooks - rev: 'v1.8.0' + rev: 'v1.9.0' hooks: - id: python-no-eval - id: python-no-log-warn @@ -40,10 +40,11 @@ repos: # mypy - static type checking # mypy --follow-imports skip - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v0.812' + rev: 'v0.941' hooks: - id: mypy - args: [ "--follow-imports", "skip", "--ignore-missing-imports", "--scripts-are-modules" ] + additional_dependencies: [ types-requests, types-setuptools, types-simplejson] + # args: [ "--follow-imports", "skip", "--ignore-missing-imports", "--scripts-are-modules" ] ### # pydocstyle.exe ### - repo: https://github.com/FalconSocial/pre-commit-mirrors-pep257 @@ -59,7 +60,7 @@ repos: # safety.exe check -r requirements.txt - repo: https://github.com/Lucas-C/pre-commit-hooks-safety - rev: 'v1.2.1' + rev: 'v1.2.4' hooks: - id: python-safety-dependencies-check entry: safety