mautrix_telegram/portal.py
File portal.py
has 3700 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# mautrix-telegram - A Matrix-Telegram puppeting bridge
# Copyright (C) 2023 Tulir Asokan
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
Function __init__
has 20 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Avoid too many return
statements within this function. Open
Open
return True