diff --git a/pyproject.toml b/pyproject.toml index 277ec23..c27e9d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ license = "GPL-3.0-only" readme = "README.md" [tool.poetry.dependencies] -python = "^3.12" +python = "^3.10" g4f = {extras = ["all"], version = "^0.2.5.4"} pyrogram = {extras = ["all"], version = "^2.0.106"} diff --git a/scripts/add_license.py b/scripts/add_license.py index 0e5ba33..7863f28 100644 --- a/scripts/add_license.py +++ b/scripts/add_license.py @@ -16,6 +16,7 @@ import os +from typing import TypeAlias from pathlib import Path # GPL-3.0 License header @@ -37,7 +38,7 @@ # Copyright (c) 2024, YeetCode Developers """ -type StatusIsOk = True | False +StatusIsOk: TypeAlias = bool def add_license_header(file_path) -> StatusIsOk: