Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude
if TYPE_CHECKING:
blocks from coverage
This is extracted from #188 as a separate PR. This commit also adds includes for per-project overriding or extending of the coverage excludes: * If a project has a `.cookiecutter/includes/coverage/exclude_also` file that will _replace_ the cookiecutter's default `exclude_also`'s * If a project has a `.cookiecutter/includes/coverage/exclude_also/tail` file that will _extend_ the cookiecutter's default `exclude_also`'s Also fix a bug in `local_extensions.py`'s `include_exists(path)` function: don't crash if there's a _folder_ (rather than a file) at `path` (the code was catching the wrong exception class, looks like just a mistake).
- Loading branch information