Skip to content

ALL-CONF0001 · examples

These examples come directly from ALL-CONF0001. Read their source.

excluded_directories = (".git", ".venv", "build", "dist")
ignored_suffixes = (".pyc", ".so", ".egg-info")
from pathlib import Path
ignored = GitIgnore.from_root(Path.cwd())
policy = ProjectConfiguration.read("pyproject.toml")
A coverage exclusion table such as `("pragma: no cover", "if TYPE_CHECKING:", "\\.\\.\\.")`
reads as `0` as well, because those entries are source-line patterns rather than paths.