diff --git a/hatch_build.py b/hatch_build.py index 80ac66ac..9007d358 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -1,3 +1,22 @@ +# Pyrofork - Telegram MTProto API Client Library for Python +# Copyright (C) 2023-present Hydrogram +# Copyright (C) 2022-present Mayuri-Chan +# +# This file is part of Pyrofork. +# +# Pyrofork is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Pyrofork is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrofork. If not, see . + import sys from hatchling.builders.hooks.plugin.interface import BuildHookInterface diff --git a/pyrofork/storage/dummy_client.py b/pyrofork/storage/dummy_client.py index 30929c01..1d36bf18 100644 --- a/pyrofork/storage/dummy_client.py +++ b/pyrofork/storage/dummy_client.py @@ -1,3 +1,21 @@ +# Pyrofork - Telegram MTProto API Client Library for Python +# Copyright (C) 2022-present Mayuri-Chan +# +# This file is part of Pyrofork. +# +# Pyrofork is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Pyrofork is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrofork. If not, see . + from pymongo.client_session import TransactionOptions from bson.codec_options import CodecOptions from pymongo.read_concern import ReadConcern diff --git a/pyrofork/storage/mongo_storage.py b/pyrofork/storage/mongo_storage.py index c6b1b9f7..844dc971 100644 --- a/pyrofork/storage/mongo_storage.py +++ b/pyrofork/storage/mongo_storage.py @@ -1,3 +1,22 @@ +# Pyrofork - Telegram MTProto API Client Library for Python +# Copyright (C) 2022 Animesh Murmu +# Copyright (C) 2022-present Mayuri-Chan +# +# This file is part of Pyrofork. +# +# Pyrofork is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Pyrofork is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrofork. If not, see . + import asyncio import inspect import time diff --git a/pyrofork/types/pyromod/__init__.py b/pyrofork/types/pyromod/__init__.py index 7929f220..a1e20561 100644 --- a/pyrofork/types/pyromod/__init__.py +++ b/pyrofork/types/pyromod/__init__.py @@ -1,4 +1,23 @@ +# Pyrofork - Telegram MTProto API Client Library for Python +# Copyright (C) 2020 Cezar H. +# Copyright (C) 2022-present Mayuri-Chan +# +# This file is part of Pyrofork. +# +# Pyrofork is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Pyrofork is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with Pyrofork. If not, see . + from .identifier import Identifier from .listener import Listener -__all__ = ["Identifier", "Listener"] \ No newline at end of file +__all__ = ["Identifier", "Listener"] diff --git a/pyrofork/types/pyromod/identifier.py b/pyrofork/types/pyromod/identifier.py index f07eff4b..17be0478 100644 --- a/pyrofork/types/pyromod/identifier.py +++ b/pyrofork/types/pyromod/identifier.py @@ -71,4 +71,4 @@ class Identifier: if getattr(self, attr) is not None: non_null_count += 1 - return non_null_count \ No newline at end of file + return non_null_count