From 989a12b79ac7dff8bf0d689f36ccac9e3494af01 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 5 May 2022 07:17:57 -0700 Subject: [PATCH] chore: exclude `build/` directory from mypy check The `build/` directory is created by the tox environment `twine-check`. When the `build/` directory exists `mypy` will have an error. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index f05a44e3e..0480feba3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,6 +5,7 @@ order_by_type = false [tool.mypy] files = "." +exclude = "build/.*" # 'strict = true' is equivalent to the following: check_untyped_defs = true