Skip to content

Commit

Permalink
Merge pull request #4 from YeetCode-devs/staging/hakimi
Browse files Browse the repository at this point in the history
Lower Python version requirement, fix license header detection
  • Loading branch information
prathamdby authored Mar 17, 2024
2 parents c2fc240 + 7a8a086 commit 1f63b8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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
5 changes: 3 additions & 2 deletions scripts/add_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@

import os

from typing import TypeAlias
from pathlib import Path

# GPL-3.0 License header
license_header = """
license_header = """\
# SPDX-License-Identifier: GPL-3.0-only
#
# This program is free software: you can redistribute it and/or modify
Expand All @@ -37,7 +38,7 @@
# Copyright (c) 2024, YeetCode Developers <[email protected]>
"""

type StatusIsOk = True | False
StatusIsOk: TypeAlias = bool


def add_license_header(file_path) -> StatusIsOk:
Expand Down

0 comments on commit 1f63b8d

Please sign in to comment.