diff --git a/msgraph/py.typed b/msgraph/py.typed new file mode 100644 index 00000000000..e69de29bb2d diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 00000000000..057b7231ae7 --- /dev/null +++ b/mypy.ini @@ -0,0 +1,7 @@ +[mypy] +warn_unused_configs = true +files = "msgraph" +ignore_missing_imports = true + +[mypy-msgraph.generated.*] +ignore_errors = True \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7a2624b4f31..949d24ba657 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,10 @@ warn_unused_configs = true files = "msgraph" ignore_missing_imports = true +[[tool.mypy.overrides]] +module = "msgraph.generated" +ignore_errors = true + [tool.yapf] based_on_style = "pep8" dedent_closing_brackets = true @@ -77,3 +81,6 @@ push = false [tool.bumpver.file_patterns] "pyproject.toml" = ['current_version = "{version}"', 'version = "{version}"'] "msgraph/_version.py" = ["{version}"] + +[tool.poetry.packages] +include = ["msgraph"] \ No newline at end of file