chore: format

This commit is contained in:
ZhaiSoul 2025-08-11 06:10:36 +00:00
parent b49da13e88
commit c1bd8cbdec

View File

@ -1,10 +1,9 @@
import logging
import os
import socket
import threading
import time
from pathlib import Path
from typing import Callable, List, Optional, Tuple
from typing import Callable, List, Tuple
from urllib.parse import urlparse
import requests
@ -26,8 +25,6 @@ MIRROR_MAPPING = {
FORCE_OFFICIAL_SOURCE = False
def set_force_official_source(force: bool = True) -> None:
"""
Set the global flag to force using only official sources.