From 4d5cd6234176e504dcab4d87fc3498c22b533913 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:20:11 +0000 Subject: [PATCH] Apply updates from cookiecutter This automated commit applies the latest updates from our cookiecutters [1] to this repo. [1]: https://github.com/hypothesis/cookiecutters --- pyproject.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2309a5b..96785cb 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 @@ -154,8 +158,8 @@ disable_error_code = [ ] [[tool.mypy.overrides]] -module= [ - # Don't try to typecheck the tests for now +module = [ + # Don't try to typecheck the tests for now. "tests.*", ] ignore_errors = true