(path: Path)
| 139 | |
| 140 | |
| 141 | def _is_setup_py(path: Path) -> bool: |
| 142 | if path.name != "setup.py": |
| 143 | return False |
| 144 | contents = path.read_bytes() |
| 145 | return b"setuptools" in contents or b"distutils" in contents |
| 146 | |
| 147 | |
| 148 | def _is_doctest(config: Config, path: Path, parent: Collector) -> bool: |
no outgoing calls
no test coverage detected