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:
|
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
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -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
|
||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user