diff --git a/.mypy.ini b/.mypy.ini deleted file mode 100644 index cb94327..0000000 --- a/.mypy.ini +++ /dev/null @@ -1,13 +0,0 @@ -[mypy] -warn_unused_ignores = True -warn_no_return = True -warn_unreachable = True - -[mypy-django.*] -ignore_missing_imports = True - -[mypy-python_http_client.exceptions.*] -ignore_missing_imports = True - -[mypy-sendgrid.*] -ignore_missing_imports = True diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index bb910eb..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -include README.md -include LICENSE -include requirements.txt diff --git a/dev-requirements.txt b/dev-requirements.txt index 58c9ccf..af7f006 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -6,8 +6,9 @@ importlib-metadata==3.6.0 isort==5.7.0 jedi==0.10.2 mock==2.0.0 -mypy==0.920 +mypy==1.13 pytest==7.1.3 pytest-cov==4.1.0 tox==4.23.2 twine==3.3.0 +types-python-http-client \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index f1c3e77..f283930 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,18 @@ line_length = 88 profile = "black" multi_line_output = 3 +[tool.mypy] +warn_unused_ignores = true +warn_no_return = true +warn_unreachable = true + +[[tool.mypy.overrides]] +module = [ + "django.*", + "sendgrid.*" +] +ignore_missing_imports = true + [tool.setuptools.dynamic] version = {attr = "sendgrid_backend.version.__version__"}