fix(CI): add types-redis to mypy's additional_dependencies

This commit is contained in:
Laureηt 2021-11-05 13:57:11 +01:00
parent dadc628abb
commit ce5cb9c88d
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
2 changed files with 2 additions and 1 deletions

View file

@ -5,7 +5,7 @@ pre-commit:
stage: lint stage: lint
image: python:latest image: python:latest
before_script: before_script:
- pip install pre-commit types-redis - pip install pre-commit
- pre-commit install - pre-commit install
script: script:
- pre-commit run --all-files - pre-commit run --all-files

View file

@ -12,6 +12,7 @@ repos:
rev: v0.910 rev: v0.910
hooks: hooks:
- id: mypy - id: mypy
additional_dependencies: [types-redis]
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 5.8.0 rev: 5.8.0