TeamPGM / PagerMaid-Pyro

Advanced Multi-Featured Telegram UserBot by pyrogram.
GNU Affero General Public License v3.0
620 stars 73 forks source link

Supplementary proxy attributes #31

Closed Code-Dramatist closed 1 year ago

Code-Dramatist commented 1 year ago

Description

Please carefully read the Contributing note and Code of conduct before making any pull requests. And, Do not make a pull request to merge into master unless it is a hotfix. Use the development branch instead.

Issues fixed by this PR

proxy字典缺少属性,代理功能不正常 代码修改,已验证过

Type of changes

Checklist:

sourcery-ai[bot] commented 1 year ago

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 0.03%.

Quality metrics Before After Change
Complexity 7.39 ⭐ 7.39 ⭐ 0.00
Method Length 176.67 😞 178.33 😞 1.66 👎
Working memory 8.51 🙂 8.51 🙂 0.00
Quality 49.69% 😞 49.66% 😞 -0.03% 👎
Other metrics Before After Change
Lines 80 81 1
Changed files Quality Before Quality After Quality Change
pagermaid/config.py 49.69% 😞 49.66% 😞 -0.03% 👎

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation

Legend and Explanation

The emojis denote the absolute quality of the code:

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!