fix(CI): add types-redis to mypy's additional_dependencies
This commit is contained in:
parent
dadc628abb
commit
ce5cb9c88d
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue