From 6c27c6cdb9feff6ded293b3673e8ae66155f6bed Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 18 Feb 2023 16:02:07 -0600 Subject: modify build config and add more test packages --- pyproject.toml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index e74c9ec..30773d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,26 @@ [build-system] -requires = [ - "setuptools>=42", - "wheel" +requires = ["pbr>=5.7.0", "setuptools>=36.6.0"] +build-backend = "pbr.build" + +[tool.pytest.ini_options] +addopts = "--cov-report term-missing --cov=pyssg" +testpaths = [ + "tests", ] -build-backend = "setuptools.build_meta" +env = [ + "PYMDVAR_TEST_1=1" +] + +[tool.mypy] +mypy_path = "src" +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 -- cgit v1.2.3-54-g00ecf