From ce5cb9c88daa1accd6b37c095861f865e5549bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Fri, 5 Nov 2021 13:57:11 +0100 Subject: [PATCH] fix(CI): add types-redis to mypy's additional_dependencies --- .gitlab-ci.yml | 2 +- .pre-commit-config.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3813750..62b4e98 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ pre-commit: stage: lint image: python:latest before_script: - - pip install pre-commit types-redis + - pip install pre-commit - pre-commit install script: - pre-commit run --all-files diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 161fcec..c05e27d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,7 @@ repos: rev: v0.910 hooks: - id: mypy + additional_dependencies: [types-redis] - repo: https://github.com/pycqa/isort rev: 5.8.0