revert: remove tinycss SyntaxWarning suppression and fix isort

Revert the warnings filter added in 2d5e807 as it didn't work as expected to suppress the tinycss SyntaxWarning. Also fix isort order in prd.py for pyplayready imports.
This commit is contained in:
Andy
2025-10-08 21:26:26 +00:00
parent 3f6a7e1f68
commit 283736c57b
2 changed files with 1 additions and 7 deletions

View File

@@ -1,9 +1,3 @@
import warnings
# Suppress SyntaxWarning from unmaintained tinycss package (dependency of subby)
# Must be set before any imports that might trigger tinycss loading
warnings.filterwarnings("ignore", category=SyntaxWarning, module="tinycss")
import atexit
import logging
from pathlib import Path