Commit graph

1062 commits

Author SHA1 Message Date
9b96a15621
chore(repo): add schemas to repo.json files
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 46s
Actions / Build Documentation (MkDocs) (push) Failing after 24s
2025-02-06 15:10:19 -06:00
7593aace00
chore(tooling): add dig to the nix flake
Some checks failed
Actions / Build Documentation (MkDocs) (push) Failing after 29s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 49s
2025-02-06 06:41:39 -06:00
e4f419ec7b
chore(repo): formatting
Some checks failed
Actions / Build Documentation (MkDocs) (push) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 52s
2025-02-06 06:41:00 -06:00
1224d2b60f
chore(deps): update dependencies 2025-02-06 06:40:49 -06:00
999fd8e96f
chore(tooling): re-add nix flake and update deps
Some checks failed
Actions / Build Documentation (MkDocs) (push) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 48s
2025-02-04 20:18:31 -06:00
2a5b924409
feat(repo): make all cogs pylance-typechecking compliant
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 43s
Actions / Build Documentation (MkDocs) (push) Failing after 24s
at `basic` level, does not include Aurora as it's being rewritten in the `aurora/v3` branch
2025-02-01 16:57:45 +00:00
ea0b7937f8
chore(tooling): switch to zsh in the dev shell 2025-02-01 16:56:49 +00:00
034748b08e
chore(deps): update dependencies 2025-02-01 16:56:34 +00:00
89d5108ef2
chore(repo): update pull request template
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 39s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 45s
2025-01-29 23:34:52 +00:00
3eeb2f90a6
feat(hotreload): add pre-compilation
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 40s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 44s
this feature will detect syntax errors before reloading a cog and cancel the cog reload if it detects one. DOES NOT detect runtime/logic errors, only syntax errors.
2025-01-29 23:24:19 +00:00
7c2ff7681c
chore(deps): update code.forgejo.org/forgejo/runner docker tag to v6.2.1 (#56)
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 40s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 45s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [code.forgejo.org/forgejo/runner](https://forgejo.org) ([source](https://code.forgejo.org/forgejo/runner)) | stage | patch | `6.2.0` -> `6.2.1` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>forgejo/runner (code.forgejo.org/forgejo/runner)</summary>

### [`v6.2.1`](https://code.forgejo.org/forgejo/runner/blob/HEAD/RELEASE-NOTES.md#621)

[Compare Source](https://code.forgejo.org/forgejo/runner/compare/v6.2.0...v6.2.1)

-   LXC [templates are updated if needed](https://code.forgejo.org/forgejo/act/pulls/102).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://www.coastalcommits.com/cswimr/SeaCogs/pulls/56
Co-authored-by: Renovate <renovate@coastalcommits.com>
Co-committed-by: Renovate <renovate@coastalcommits.com>
2025-01-29 13:39:57 -05:00
1ca452669c
chore(deps): pin code.forgejo.org/forgejo/runner docker tag to 936c4fe (#52)
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 52s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [code.forgejo.org/forgejo/runner](https://forgejo.org) ([source](https://code.forgejo.org/forgejo/runner)) | stage | pinDigest |  -> `936c4fe` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMzMuNCIsInVwZGF0ZWRJblZlciI6IjM5LjEzMy40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://www.coastalcommits.com/cswimr/SeaCogs/pulls/52
Co-authored-by: Renovate <renovate@coastalcommits.com>
Co-committed-by: Renovate <renovate@coastalcommits.com>
2025-01-26 17:36:59 -05:00
666efaf893
chore(devcontainer): add DiD, forgejo runner, aliases
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 43s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 50s
2025-01-26 22:27:22 +00:00
289da84b76
fix(hotreload): use 3.8-compatible typehints
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 44s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 50s
2025-01-26 21:31:48 +00:00
5c6783452d
fix(hotreload): verify that a file path exists before creating an observer schedule for it
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 47s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 52s
2025-01-26 21:29:02 +00:00
70d75c688c
fix(hotreload): only import ObserverType for TYPE_CHECKING 2025-01-26 21:23:08 +00:00
76f0a4cdd4
chore(hotreload): support python 3.8+ instead of 3.10+
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 51s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 58s
2025-01-26 21:09:38 +00:00
19eca0b1b5
docs: fixed incorrect command instructions
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 48s
2025-01-26 15:33:34 +00:00
9e489a4c91
docs(hotreload): add docs
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 40s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 46s
2025-01-26 15:29:07 +00:00
1993da084d
docs(hotreload): add docs
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 43s
Actions / Lint Code (Ruff & Pylint) (push) Has been cancelled
2025-01-26 15:28:21 +00:00
b22d81f514
feat(hotreload): handle multiple observers
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 47s
2025-01-26 15:18:05 +00:00
ccf9389e13
feat(hotreload): Channel Notifications (#51)
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 41s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 47s
# Channel Notifications

This PR adds the ability for HotReload to send messages to a configurable discord channel when reloading a cog. Messages are only sent after the cog is reloaded to prevent slowdowns.
<!-- Create a new issue, if it doesn't exist yet -->

- [x] By submitting this pull request, I permit [cswimr](https://www.coastalcommits.com/cswimr) to license my work under
  the [Mozilla Public License Version 2.0](https://www.coastalcommits.com/cswimr/SeaCogs/src/branch/main/LICENSE).

Reviewed-on: https://www.coastalcommits.com/cswimr/SeaCogs/pulls/51
2025-01-26 10:06:14 -05:00
ff9e20be91
fix(pterodactyl): update pterodactyl for the new version of websockets & fix a few minor bugs
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 47s
2025-01-26 15:04:05 +00:00
d51e3f17e9
fix(antipolls): ruff fixes
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 48s
2025-01-26 14:22:12 +00:00
59d33ea87d
style(seautils): ruff fix
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 44s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 49s
2025-01-26 14:16:46 +00:00
65cfafc7b3
style(emojiinfo): ruff fix 2025-01-26 14:16:39 +00:00
ea5f51892a
style(repo): ruff fixes
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 47s
2025-01-26 14:13:37 +00:00
9df7f15bbe
chore(repo): enable even more ruff rules 2025-01-26 14:11:37 +00:00
4ad73ec6ee
fix(pterodactyl): ruff fix
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 43s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 47s
2025-01-26 14:10:48 +00:00
2543563af1
fix(hotreload): ruff fix 2025-01-26 14:10:48 +00:00
0b60a2df66
chore(repo): enable more ruff rules
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 44s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 49s
2025-01-26 14:03:28 +00:00
6f0fee8275
fix(backup): disable SLF001
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 45s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 52s
2025-01-26 13:42:57 +00:00
dbff8d0d2a
chore(repo): enable some more ruff rules 2025-01-26 13:42:48 +00:00
0c43e3d2c9
fix(backup): update for red 3.5.14 & reformat
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 44s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 51s
2025-01-26 13:21:28 +00:00
0f47a15291
fix(emojiinfo): ruff fixes & rename logger
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 43s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 49s
2025-01-26 13:18:04 +00:00
7f2a81e350
fix(bible): ruff fixes 2025-01-26 13:16:54 +00:00
5c5a2f28b2
chore(repo): reformat pyproject.toml and disable a stupid linting rule 2025-01-26 13:16:26 +00:00
d5a248733a
fix(pterodactyl): fix a ruff violation
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 44s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 51s
2025-01-26 13:09:15 +00:00
5decc51a36
chore(deps): update 2025-01-26 13:08:33 +00:00
41678ef3ed
chore(repo): enable more ruff linting rules 2025-01-26 13:08:28 +00:00
0492b30662
chore(repo): add two paths to gitignore 2025-01-26 13:08:02 +00:00
3063721b8d
chore(vscode): add some settings overrides 2025-01-26 13:07:46 +00:00
3d882625d2
style(seautils): reformat
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 36s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 40s
2025-01-26 01:54:02 +00:00
6c25d61dfd
fix(hotreload): use %s formatting in logging strings 2025-01-26 01:53:40 +00:00
6ffa81fdee
fix(bible): fix ruff errors 2025-01-26 01:53:09 +00:00
06e678f26f
style(repo): enable some more linting rules 2025-01-26 01:52:46 +00:00
e5210420cb
chore(vscode): force load hotreload in launch & debug configuration
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 35s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 40s
2025-01-26 01:08:06 +00:00
1677412b56
chore(hotreload): add disclaimer in install message that this cog doesn't add any commands
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 36s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 40s
2025-01-26 00:56:50 +00:00
451ecfe5d9
chore(tooling): disable too-many-positional-arguments
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 37s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 41s
2025-01-26 00:48:25 +00:00
8511b7b964
fix(bible): mark cog_unload as async 2025-01-26 00:46:21 +00:00