(self, filename: str)
| 384 | return thread |
| 385 | |
| 386 | def _is_python(self, filename: str) -> bool: |
| 387 | return not filename.startswith("<") or filename in ["<stdin>", "<string>"] |
| 388 | |
| 389 | def _get_category(self, filename: str) -> int: |
| 390 | return CATEGORY_PYTHON if self._is_python(filename) else CATEGORY_NATIVE |
no test coverage detected