[test] Convert warnings into errors

* And fix some existing warnings

Authored by: fstirlitz
This commit is contained in:
pukkandan
2022-04-18 02:12:48 +05:30
parent 3d3bb1688b
commit b6dc37fe2a
9 changed files with 13 additions and 11 deletions

View File

@@ -1,2 +1,2 @@
#!/bin/sh
exec python3 "$(dirname "$(realpath "$0")")/yt_dlp/__main__.py" "$@"
exec "${PYTHON:-python3}" -bb -Werror -Xdev "$(dirname "$(realpath "$0")")/yt_dlp/__main__.py" "$@"