(url: str)
| 39 | |
| 40 | |
| 41 | def is_http_url(url: str) -> bool: |
| 42 | parsed = urllib.parse.urlparse(url) |
| 43 | return parsed.scheme in {"http", "https"} and bool(parsed.netloc) |
| 44 | |
| 45 | |
| 46 | def strip_namespace(tag: str) -> str: |
no outgoing calls
no test coverage detected