1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-02 16:43:12 +00:00
Commit graph

19 commits

Author SHA1 Message Date
pre-commit-ci[bot]
46baeba19b
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.5 → v0.4.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.5...v0.4.8)
2024-06-10 20:21:17 +00:00
pre-commit-ci[bot]
cc0a2ca7ff
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.4...v0.4.5)
2024-05-27 20:08:36 +00:00
pre-commit-ci[bot]
4fb7f1787a
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.4)
2024-05-13 20:08:05 +00:00
pre-commit-ci[bot]
bb9a4a95e9
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.2...v0.4.3)
2024-05-06 20:11:44 +00:00
pre-commit-ci[bot]
8d6918183d
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.2)
2024-04-29 20:27:41 +00:00
pre-commit-ci[bot]
41ae089f70
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.7...v0.4.1)
2024-04-22 20:04:04 +00:00
pre-commit-ci[bot]
c1b9707d9a
[pre-commit.ci] pre-commit autoupdate
updates:
- https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.3.6 → v0.3.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.6...v0.3.7)
2024-04-15 20:21:48 +00:00
kzndotsh
67cdc52212 chore(pre-commit-config.yaml): update ruff-pre-commit version to v0.3.6 for latest features and bug fixes
feat(mypy.ini): add new mypy.ini file for better type checking configuration
fix(schema.prisma): make created_at field in Users model nullable to handle users without creation time
feat(schema.prisma): add color field to Roles model to store role's color information
refactor(pyproject.toml): rearrange linting configuration for better readability and remove redundant mypy configuration
2024-04-11 17:56:45 +00:00
kzndotsh
29970db833 chore(.mise.toml): remove unused env section
build(.pre-commit-config.yaml): update ruff-pre-commit version to v0.3.5
refactor(tux/cogs/utility/guide.py): remove guild banner from server guide embed
refactor(tux/cogs/utility/ping.py): use EmbedCreator for creating embeds
refactor(tux/utils/constants.py): reorganize and add new constants for embeds and interactions
feat(tux/utils/embeds.py): add new EmbedCreator class for creating standardized embeds
refactor(tux/utils/embedbuilder.py): remove unused embedbuilder file
2024-04-06 19:48:57 +00:00
kzndotsh
b5b1c4ff1a [Fix] Minor fixes 2024-03-29 11:48:35 -04:00
kzndotsh
772eae6a2d [Refactor] Major changes to dir structure, temp removal of permissions, added loguru, added some async libs, improve types, clean pyproject config 2024-03-27 16:16:33 -04:00
kzndotsh
19e79a4166 [CI/CD] Minor updates 2024-03-22 10:21:11 -04:00
kzndotsh
355dcb4f90 [Feat] Minimal ban and kick command 2024-03-12 01:07:04 -04:00
kaizen
e64781ad1b [Refactor][Update] pre-commit hook versions and refactor error handling
Pyright type checking has been set to basic for now.

The pre-commit hooks for `ruff-pre-commit` and `pyright-python` have been updated to their latest versions for code quality improvements. The `pre-commit-config` and `pyproject.toml` files were modified to reflect these changes.

Also, the error handler has been completely rewritten in a more flexible and scalable manner, addressing various error scenarios in a cleaner and clearer way. Individual error handling methods for common cases are now in place, making it easier to extend with more exception types in the future.

Removed some unused references to the old error handler in the main application file, simplifying the logic there. The `pyright` type checking configuration in `pyproject.toml` was also adjusted for less strict checking, better suited to our current project requirements.

Lastly, the lockfile `poetry.lock` was updated and unnecessarily tagged "dev" packages were removed.

In the wake of these changes, be mindful that the behaviour of error prompts to the user and of type checks may slightly differ.

Additional notes include punctuation and formatting adjustments to improve readability throughout the files changed.
2024-01-09 22:58:09 -05:00
kaizen
7ed07b7308 [CI/CD][Fix] Ruff pre-commit hook 2023-12-30 02:24:18 -05:00
Scott
fb5261dbd3 removed the extra line return 2023-12-27 19:05:14 -05:00
Scott
fa703a99d2 [Fix] added a line return to get a commit to test github action 2023-12-27 18:59:01 -05:00
Scott
485e015e5d [Fix][Reorg] Fixing some yml/toml files to add in support for poetry and added in an .env.example to show users what it should look like at this point in time 2023-12-27 18:29:04 -05:00
Scott
b2e859985c
Created .pre-commit-config.yaml
This will handle pre-commit hooks for the most part, creating a discussion for this later.
2023-11-30 23:52:07 -05:00