Добавить основную функциональность загрузки YouTube Shorts с использованием файла сессии и обработкой ошибок

This commit is contained in:
ВяткинАртём
2026-05-27 16:33:22 +03:00
parent 2d1f671d5a
commit d06bd989f3
23 changed files with 884 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
# Makefile for uv + ruff + mypy + deptry
UV := uv
RUFF := ruff
MYPY := mypy
DEPTRY := deptry
.PHONY: full-lint clean-branches
full-lint:
@echo "Running ruff check and fix..."
$(UV) run $(RUFF) check . --fix
@echo "Running mypy..."
$(UV) run $(MYPY) . --config-file ./pyproject.toml --no-incremental
@echo "Running deptry..."
$(UV) run $(DEPTRY) . --config ./pyproject.toml
@echo "All checks completed!"
clean-branches:
ifeq ($(OS),Windows_NT)
@git fetch --prune
@cmd /C "for /f \"tokens=1\" %%i in ('git branch -vv ^| findstr ": gone]"') do git branch -D %%i" || ver > nul
else
git fetch --prune
git branch -vv | grep ': gone]' | awk '{print $$1}' | xargs -r git branch -D
endif