[utils] Deprecate encodeArgument (#17621)

Authored by: doe1080
This commit is contained in:
doe1080
2026-12-01 05:08:32 +00:00
committed by GitHub
parent 9370822e3b
commit 7b9efbd9a9
7 changed files with 20 additions and 36 deletions
+1
View File
@@ -403,6 +403,7 @@ banned-from = [
"yt_dlp.utils.random_uuidv4".msg = "Use `str(uuid.uuid4())` instead."
"yt_dlp.utils.decodeArgument".msg = "Do not use"
"yt_dlp.utils.decodeFilename".msg = "Do not use"
"yt_dlp.utils.encodeArgument".msg = "Do not use"
"yt_dlp.utils.encodeFilename".msg = "Do not use"
"yt_dlp.compat.compat_os_name".msg = "Use `os.name` instead."
"yt_dlp.compat.compat_realpath".msg = "Use `os.path.realpath` instead."