add pysocks import handling

add PySocks dependency mapping
This commit is contained in:
VuRsd
2024-11-08 16:56:28 +08:00
committed by GitHub
parent f9eb64aae2
commit 2eb9cfd0a9
@@ -62,6 +62,7 @@ static PYTHON_IMPORTS_REPLACEMENT: phf::Map<&'static str, &'static str> = phf_ma
"lokalise" => "python-lokalise-api",
"msgraph" => "msgraph-sdk",
"pythonjsonlogger" => "python-json-logger",
"socks" => "PySocks",
};
fn replace_import(x: String) -> String {