diff --git a/.mypy.ini b/.mypy.ini deleted file mode 100644 index 1554ac0..0000000 --- a/.mypy.ini +++ /dev/null @@ -1,10 +0,0 @@ -[mypy] -show_error_codes = true -disallow_untyped_defs = true -disallow_incomplete_defs = true -no_implicit_optional = true -warn_redundant_casts = true -warn_unused_ignores = true -warn_return_any = true -warn_unreachable = true -strict_equality = true \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 2831c73..e25dcd7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,3 +39,14 @@ include-package-data = true [tool.setuptools.dynamic] version = {attr = "pytest_structlog.__version__"} + +[tool.mypy] +show_error_codes = true +disallow_untyped_defs = true +disallow_incomplete_defs = true +no_implicit_optional = true +warn_redundant_casts = true +warn_unused_ignores = true +warn_return_any = true +warn_unreachable = true +strict_equality = true