diff --git a/pyproject.toml b/pyproject.toml index b9a5f7c..5206972 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,18 +66,9 @@ exclude = [ ".venv" ] [tool.mypy] files = [ "src" ] -warn_return_any = true +strict = true warn_unused_configs = true -disallow_untyped_defs = true -disallow_incomplete_defs = true -check_untyped_defs = true -disallow_untyped_decorators = true -no_implicit_optional = true -warn_redundant_casts = true -warn_unused_ignores = true -warn_no_return = true warn_unreachable = true -strict_equality = true [tool.coverage.run] source = [ "src" ] @@ -86,11 +77,8 @@ branch = true [tool.coverage.report] fail_under = 100 exclude_lines = [ - "def __repr__", - "if self\\.debug", "raise AssertionError", "raise NotImplementedError", - "if 0:", "if __name__ == .__main__.:", "@(abc\\.)?abstractmethod" ]