diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index df50003..6895214 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -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 diff --git a/Makefile b/Makefile index d560198..6f0ec91 100644 --- a/Makefile +++ b/Makefile @@ -28,4 +28,4 @@ black: black ormar tests mypy: - mypy ormar tests \ No newline at end of file + mypy --config-file mypy.ini --install-types ormar tests \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index d37e631..92b231d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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