chore: use if TYPE_CHECKING: blocks (#2866)

This commit is contained in:
Matthieu Darbois
2026-05-27 18:20:08 -04:00
committed by GitHub
parent 2380f52783
commit e3e7cc9e07
79 changed files with 566 additions and 168 deletions
+6 -1
View File
@@ -1,11 +1,16 @@
from __future__ import annotations
import ssl
from pathlib import Path
import certifi
import pytest
from cibuildwheel.util.file import download
TYPE_CHECKING = False
if TYPE_CHECKING:
from pathlib import Path
DOWNLOAD_URL = "https://cdn.jsdelivr.net/gh/pypa/cibuildwheel@v1.6.3/requirements-dev.txt"