iSort, coloured logging, add_license.py improvement, module system, pyrogram #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR have three important group of commit:
modules/
Misc
The
scripts/add_license.py
now open files with explicit encoding for consistency.Commits
Fri, 22 Mar 2024 22:00:08 +0800 Firdaus Hakimi 43aac25 Add iSort as dev dependency
Fri, 22 Mar 2024 22:02:03 +0800 Firdaus Hakimi 7543cfa isort: Use black's profile for isort
Fri, 22 Mar 2024 22:07:18 +0800 Firdaus Hakimi 60b9b6e scripts: install_hook: Adapt for isort
Fri, 22 Mar 2024 22:08:40 +0800 Firdaus Hakimi 52fdf94 Run isort
Fri, 22 Mar 2024 22:12:18 +0800 Firdaus Hakimi a68d843 README: Adapt for isort
Sat, 23 Mar 2024 13:05:25 +0800 Firdaus Hakimi 9d37bc5 Import coloured logging from https://github.com/Hakimi0804/tgbot-python-V2/blob/main/util/logging.py
Sat, 23 Mar 2024 13:08:08 +0800 Firdaus Hakimi bbfb779 scripts: add_license: Explicitly specify encoding
Sat, 23 Mar 2024 15:16:20 +0800 Firdaus Hakimi 5f64274 Implement module system
Sat, 23 Mar 2024 15:25:36 +0800 Firdaus Hakimi 9d804cc src: Bot: Turn /start into a module
Sat, 23 Mar 2024 20:56:24 +0800 Firdaus Hakimi 2a4c823 YeetAI: Switch back to pyrogram
Sat, 23 Mar 2024 21:11:05 +0800 Firdaus Hakimi 20f62d6 src: Bot: override env with dotenv when possible