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

9 commits

Author SHA1 Message Date
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