add missing types stubs for deps

This commit is contained in:
collerek
2021-06-09 12:13:54 +02:00
parent 2d0ba2383a
commit 9c2f822e1e
3 changed files with 11 additions and 3 deletions

View File

@ -64,7 +64,7 @@ jobs:
env: env:
DATABASE_URL: "sqlite:///testsuite" DATABASE_URL: "sqlite:///testsuite"
run: bash scripts/test.sh run: bash scripts/test.sh
- run: mypy --config-file mypy.ini ormar tests - run: mypy --config-file mypy.ini --install-types ormar tests mypy
- name: Upload coverage - name: Upload coverage
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1
- name: Test & publish code coverage - name: Test & publish code coverage

View File

@ -28,4 +28,4 @@ black:
black ormar tests black ormar tests
mypy: mypy:
mypy ormar tests mypy --config-file mypy.ini --install-types ormar tests

View File

@ -19,7 +19,6 @@ psycopg2-binary
mysqlclient mysqlclient
# Testing # Testing
mypy
pytest pytest
pytest-cov pytest-cov
codecov codecov
@ -37,6 +36,15 @@ flake8-cognitive-complexity
flake8-functions flake8-functions
flake8-expression-complexity flake8-expression-complexity
# types
mypy
types-ujson
types-PyMySQL
types-ipaddress
types-enum34
types-cryptography
types-orjson
# Documantation # Documantation
mkdocs mkdocs
mkdocs-material mkdocs-material