add missing types stubs for deps
This commit is contained in:
2
.github/workflows/test-package.yml
vendored
2
.github/workflows/test-package.yml
vendored
@ -64,7 +64,7 @@ jobs:
|
||||
env:
|
||||
DATABASE_URL: "sqlite:///testsuite"
|
||||
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
|
||||
uses: codecov/codecov-action@v1
|
||||
- name: Test & publish code coverage
|
||||
|
||||
2
Makefile
2
Makefile
@ -28,4 +28,4 @@ black:
|
||||
black ormar tests
|
||||
|
||||
mypy:
|
||||
mypy ormar tests
|
||||
mypy --config-file mypy.ini --install-types ormar tests
|
||||
@ -19,7 +19,6 @@ psycopg2-binary
|
||||
mysqlclient
|
||||
|
||||
# Testing
|
||||
mypy
|
||||
pytest
|
||||
pytest-cov
|
||||
codecov
|
||||
@ -37,6 +36,15 @@ flake8-cognitive-complexity
|
||||
flake8-functions
|
||||
flake8-expression-complexity
|
||||
|
||||
# types
|
||||
mypy
|
||||
types-ujson
|
||||
types-PyMySQL
|
||||
types-ipaddress
|
||||
types-enum34
|
||||
types-cryptography
|
||||
types-orjson
|
||||
|
||||
# Documantation
|
||||
mkdocs
|
||||
mkdocs-material
|
||||
|
||||
Reference in New Issue
Block a user