[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
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
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" "$@"