From 419586f32619f92327cb2ebcd2f1daaad45ec980 Mon Sep 17 00:00:00 2001 From: theonepath Date: Wed, 4 May 2022 00:17:09 +0100 Subject: [PATCH] Updated pyproject.toml Added configuration for pytest and mypy --- pyproject.toml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2b90214..aaf01f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,23 @@ [build-system] -requires = ["setuptools>=42.0", "wheel"] -build-backend = "setuptools.build_meta" \ No newline at end of file + requires = ["setuptools>=42.0", "wheel"] + build-backend = "setuptools.build_meta" + +[tool.pytest.ini_options] + addopts = "--cov=clog" + testpaths = [ + "testing", + ] + +[tool.mypy] + mypy_path = "." + check_untyped_defs = true + disallow_any_generics = true + ignore_missing_imports = true + no_implicit_optional = true + show_error_codes = true + strict_equality = true + warn_redundant_casts = true + warn_return_any = true + warn_unreachable = true + warn_unused_configs = true + no_implicit_reexport = true \ No newline at end of file