]> jfr.im git - yt-dlp.git/blobdiff - test/test_post_hooks.py
[cleanup] Misc (#10043)
[yt-dlp.git] / test / test_post_hooks.py
index 020203f2fae86a3dfa627da2086daa8553964765..3778d1794258679e55a386913be919db343ec3c8 100644 (file)
@@ -1,11 +1,15 @@
 #!/usr/bin/env python3
+
+# Allow direct execution
 import os
 import sys
 import unittest
+
 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 
-from test.helper import get_params, try_rm, is_download_test
-import yt_dlp.YoutubeDL
+
+from test.helper import get_params, is_download_test, try_rm
+import yt_dlp.YoutubeDL  # isort: split
 from yt_dlp.utils import DownloadError