]> jfr.im git - yt-dlp.git/blobdiff - Makefile
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / Makefile
index b8f010086151c472936994d378ad246389b226c9..e1de7f3e91a7bf041e8c340255fb576a3169ab6a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -74,11 +74,11 @@ codetest:
        autopep8 --diff .
 
 test:
-       $(PYTHON) -m pytest
+       $(PYTHON) -m pytest -Werror
        $(MAKE) codetest
 
 offlinetest: codetest
-       $(PYTHON) -m pytest -k "not download"
+       $(PYTHON) -m pytest -Werror -m "not download"
 
 CODE_FOLDERS_CMD = find yt_dlp -type f -name '__init__.py' | sed 's,/__init__.py,,' | grep -v '/__' | sort
 CODE_FOLDERS != $(CODE_FOLDERS_CMD)