Skip to content

Commit

Permalink
Lower Python version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimifr committed Mar 17, 2024
1 parent c2fc240 commit fd442a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand Down
3 changes: 2 additions & 1 deletion scripts/add_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import os

from typing import TypeAlias
from pathlib import Path

# GPL-3.0 License header
Expand All @@ -37,7 +38,7 @@
# Copyright (c) 2024, YeetCode Developers <YeetCode-devs@protonmail.com>
"""

type StatusIsOk = True | False
StatusIsOk: TypeAlias = bool


def add_license_header(file_path) -> StatusIsOk:
Expand Down

0 comments on commit fd442a9

Please sign in to comment.