From 5a1865d16ed3a2f21f8e3e3bf4d7ecf8219884d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20W=C3=B6rtwein?= Date: Wed, 29 Sep 2021 23:26:20 -0400 Subject: [PATCH 1/3] CI/TYP: set python_version for mypy --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 93a7805a63da3..2239af190f9dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,6 +69,7 @@ markers = [ ] [tool.mypy] +python_version = "3.8" # Import discovery namespace_packages = false explicit_package_bases = false From e9517f202de4ce3e63414df8d0619fdf46dcceaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20W=C3=B6rtwein?= Date: Thu, 30 Sep 2021 09:05:29 -0400 Subject: [PATCH 2/3] move below platform --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2239af190f9dc..c8703f9af466d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,7 +69,6 @@ markers = [ ] [tool.mypy] -python_version = "3.8" # Import discovery namespace_packages = false explicit_package_bases = false @@ -80,6 +79,7 @@ no_site_packages = false no_silence_site_packages = false # Platform configuration platform = "linux-64" +python_version = "3.8" # Disallow dynamic typing disallow_any_unimported = false # TODO disallow_any_expr = false # TODO From 662abe1e6f6f4bf69a349b5781c1c6b7ce1d54f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20W=C3=B6rtwein?= Date: Thu, 30 Sep 2021 09:06:56 -0400 Subject: [PATCH 3/3] mypy lists it above platform --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c8703f9af466d..a72aff2d6fc32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,8 +78,8 @@ follow_imports_for_stubs = false no_site_packages = false no_silence_site_packages = false # Platform configuration -platform = "linux-64" python_version = "3.8" +platform = "linux-64" # Disallow dynamic typing disallow_any_unimported = false # TODO disallow_any_expr = false # TODO