From b2bb85e27b8ebe63318aaa663f00193ba69adea5 Mon Sep 17 00:00:00 2001 From: Nuclear03020704 <52926983+lahdjirayhan@users.noreply.github.com> Date: Thu, 24 Mar 2022 00:58:43 +0700 Subject: [PATCH] chore [pre-commit]: Add type stubs to make pre-commit mypy happy This is to get rid of errors/warnings like 'library stubs not installed' --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee2af31..b15afbe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,7 @@ repos: rev: 'v0.941' # Use the sha / tag to point at specific version hooks: - id: mypy + additional_dependencies: ['types-requests', 'types-urllib3'] - repo: https://github.com/psf/black rev: '22.1.0' hooks: