From e862e9f280a4a4b79a39d2429c41615efd542fa2 Mon Sep 17 00:00:00 2001 From: jo Date: Sat, 22 Jan 2022 17:03:39 +0100 Subject: [PATCH] test(tools): fix mypy linters --- tools/packages_test.py | 2 +- tools/pyproject.toml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/packages_test.py b/tools/packages_test.py index d98a6aa77..a15a61678 100644 --- a/tools/packages_test.py +++ b/tools/packages_test.py @@ -28,7 +28,7 @@ def test_load_packages(): assert load_packages(PACKAGE_INI, "focal", True, ["legacy"]) == result_exclude -def test_list_packages(tmp_path: Path): +def test_list_packages(tmp_path: Path) -> None: package_file = tmp_path / "packages.ini" package_file.write_text(PACKAGE_INI) diff --git a/tools/pyproject.toml b/tools/pyproject.toml index d33fda2f3..538f9969d 100644 --- a/tools/pyproject.toml +++ b/tools/pyproject.toml @@ -9,8 +9,6 @@ disable = [ [tool.mypy] allow_redefinition = true disallow_incomplete_defs= true -disallow_untyped_calls= true -disallow_untyped_defs= true [build-system] requires = ["setuptools", "wheel"]