diff --git a/pyproject.toml b/pyproject.toml index 1c85950..740bc29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,6 +60,10 @@ show_missing = true precision = 2 fail_under = 100.00 skip_covered = true +exclude_also = [ + # `if TYPE_CHECKING:` blocks are only executed while running mypy. + "if TYPE_CHECKING:", +] [tool.isort] multi_line_output = 3