kzndotsh
065ec67efb
feat(.github/workflows/pyright.yml): add Pyright GitHub action for type checking
...
This commit adds a new GitHub action workflow for Pyright, a static type checker for Python. The workflow is triggered on push and pull request events. It sets up Python, installs Poetry and project dependencies, and runs Pyright for type checking. This will help improve code quality by catching type errors before they are merged into the main branch.
2024-08-31 16:48:55 +00:00
kzndotsh
60ce767eaf
Revert "feat(pyright.yml): add new GitHub workflow for type checking using Pyright to ensure code quality and prevent type errors"
...
This reverts commit 2da3d61d22
.
2024-08-31 12:35:21 -04:00
kzndotsh
2da3d61d22
feat(pyright.yml): add new GitHub workflow for type checking using Pyright to ensure code quality and prevent type errors
2024-08-31 16:33:54 +00:00
kzndotsh
8e778abd7c
Merge pull request #490 from allthingslinux/renovate/ruff-0.x-lockfile
2024-08-31 11:55:16 -04:00
kzndotsh
43ddda891d
feat(.pre-commit-config.yaml): add pyright hook to pre-commit config for better type checking
...
refactor(.pre-commit-config.yaml): update exclude pattern to exclude stubs directory along with .archive directory
2024-08-30 00:08:26 +00:00
kzndotsh
9b634a7dbe
feat(bookmarks.py): import 'cast' from 'typing' to ensure type safety
...
refactor(bookmarks.py): cast 'channel' to 'discord.TextChannel | discord.Thread' to improve type safety
refactor(bookmarks.py): change 'emoji' parameter type from 'str' to 'discord.PartialEmoji' for better type consistency
2024-08-29 23:52:29 +00:00
renovate[bot]
2218f4b360
fix(deps): update dependency ruff to v0.6.3
2024-08-29 17:09:42 +00:00
kzndotsh
72169b3198
fix(bookmarks.py): correct the way to get the length of message content from 'message.content.length' to 'len(message.content)' to avoid runtime errors
2024-08-29 13:17:18 +00:00
kzndotsh
cef56b2be2
feat(bookmarks.py): add check for message length exceeding max embed description length and truncate if necessary
...
refactor(bookmarks.py): remove duplicate code for removing reaction from message
fix(bookmarks.py): move notify_message deletion inside exception block to ensure it only runs when an error occurs
2024-08-29 13:10:35 +00:00
kzndotsh
b10fc639a7
Merge pull request #489 from allthingslinux/contributors-readme-action-N4uQXZ4Rck
2024-08-29 04:04:27 -04:00
github-actions[bot]
335f318ea8
docs(contributor): contrib-readme-action has updated readme
2024-08-29 08:02:19 +00:00
kzndotsh
a57dbdfcfc
Merge pull request #485 from targzballs/main
2024-08-29 04:02:06 -04:00
kzndotsh
0568e48de6
feat(bookmarks.py): add new bookmarks service in cogs/services
...
refactor(bookmarks.py): move bookmarks from utility to services for better organization
fix(bookmarks.py): improve error handling and logging in bookmarks service
chore(bookmarks.py): remove old bookmarks utility after successful refactor
2024-08-29 07:56:04 +00:00
stingleyisme
608682bed5
Merge branch 'main' of https://github.com/GabberBalls/tux
2024-08-29 00:37:47 -05:00
github-actions[bot]
ecc22e006c
docs(contributor): contrib-readme-action has updated readme
2024-08-29 05:37:14 +00:00
stingleyisme
5ad2cfcbc7
updated and moved bookmarks.py to utils
2024-08-29 00:28:41 -05:00
kzndotsh
6ad86ba9c7
Merge pull request #482 from allthingslinux/renovate/pyright-1.x-lockfile
2024-08-29 00:03:03 -04:00
kzndotsh
640b77bfc5
Merge pull request #483 from allthingslinux/contributors-readme-action-KkmQ3_QcoI
2024-08-29 00:02:37 -04:00
github-actions[bot]
48286efaf2
docs(contributor): contrib-readme-action has updated readme
2024-08-29 04:02:06 +00:00
kzndotsh
3852f5a009
chore(contrib.yml): enable auto_detect_branch_protection in GitHub Actions to enhance repository security
2024-08-29 04:01:51 +00:00
kzndotsh
ed09cab511
refactor(tty_roles.py): replace get_role_by_name method with discord.utils.get for simplicity
...
fix(tty_roles.py): remove redundant get_role_by_name method to reduce code complexity
2024-08-29 03:52:39 +00:00
kzndotsh
632a68fa93
refactor(temp_vc.py): rename handle_user_join and handle_user_leave methods to _handle_user_join and _handle_user_leave to indicate these are internal methods
2024-08-29 03:50:54 +00:00
github-actions[bot]
7d65c3eb60
docs(contributor): contrib-readme-action has updated readme
2024-08-29 02:35:54 +00:00
electron271
59129f19e8
Merge branch 'main' into main
2024-08-28 21:35:42 -05:00
electron271
f446ea6359
Merge pull request #481 from allthingslinux/Ow0cast-patch-1
...
feat: defer processing message instead of reply
2024-08-28 21:34:24 -05:00
electron271
99b83dd72a
fix(imgeffect.py) make deepfry ephemeral and fix defer
2024-08-28 21:33:49 -05:00
renovate[bot]
93c55ab910
fix(deps): update dependency pyright to v1.1.378
2024-08-29 02:12:06 +00:00
owuh
14ffa1dadc
feat: defer processing message instead of reply
2024-08-29 01:45:09 +00:00
github-actions[bot]
b7eb0ee5fa
docs(contributor): contrib-readme-action has updated readme
2024-08-29 00:22:38 +00:00
stingleyisme
cecd4ba482
modified: tux/cogs/services/bookmarks.py
2024-08-28 19:22:14 -05:00
stingleyisme
f777d08bde
modified: tux/cogs/services/bookmarks.py
2024-08-28 17:52:41 -05:00
stingleyisme
b561061ff2
Merge branch 'main' of https://github.com/GabberBalls/tux
2024-08-28 17:27:17 -05:00
stingleyisme
39bd877372
modified: tux/cogs/services/bookmarks.py
2024-08-28 17:27:08 -05:00
TargzBalls
086cb92805
Merge branch 'allthingslinux:main' into main
2024-08-28 15:10:52 -07:00
stingleyisme
508bbb55f3
modified: tux/cogs/services/bookmarks.py
2024-08-28 17:00:32 -05:00
electron271
b71be73d31
fix(imgeffect.py) fix scaling for imgeffect
2024-08-28 16:54:01 -05:00
stingleyisme
1fa450bc21
Merge branch 'main' of https://github.com/GabberBalls/tux
2024-08-28 16:39:46 -05:00
stingleyisme
b9f355e561
modified: tux/cogs/services/bookmarks.py
2024-08-28 16:39:28 -05:00
github-actions[bot]
60f6b11cdf
docs(contributor): contrib-readme-action has updated readme
2024-08-28 21:39:08 +00:00
kzndotsh
21da371278
fix(cases.py): replace UserConverter with bot.get_user and bot.fetch_user to handle cases where user is not found in cache
2024-08-28 20:16:55 +00:00
kzndotsh
8f0c52bbfb
refactor(cases.py): simplify if-else logic for creating case fields to improve code readability
2024-08-28 20:01:32 +00:00
kzndotsh
1e134a3729
feat(contrib.yml): add auto_detect_branch_protection flag to disable automatic branch protection detection in GitHub Actions workflow
2024-08-28 18:36:18 +00:00
kzndotsh
c33fa5712f
Merge pull request #477 from allthingslinux/contributors-readme-action-xwhbegzFrJ
2024-08-28 14:32:39 -04:00
github-actions[bot]
4c8fbaca41
docs(contributor): contrib-readme-action has updated readme
2024-08-28 18:32:11 +00:00
kzndotsh
6b7c3bb117
Merge pull request #465 from allthingslinux/renovate/httpx-0.x-lockfile
2024-08-28 14:31:58 -04:00
electron271
e5cbd34003
Merge pull request #474 from allthingslinux/471-footer-for-protected-snippets
...
feat(snippets.py) show lock emoji if snippet is locked
2024-08-28 13:18:18 -05:00
electron271
efdec9edc8
feat(snippets.py) show lock emoji if snippet is locked
2024-08-28 13:15:06 -05:00
electron271
0985fa5f92
Merge pull request #469 from allthingslinux/imagemanipulation
...
add basic image manipulation
2024-08-28 12:45:38 -05:00
electron271
6cf28442b3
Merge branch 'main' into imagemanipulation
2024-08-28 12:45:30 -05:00
kzndotsh
942759196a
Merge pull request #470 from allthingslinux/electron271-patch-1
2024-08-28 13:42:13 -04:00