Skip to content

Bump to Python 3.12 #329

Bump to Python 3.12

Bump to Python 3.12 #329

Triggered via pull request April 15, 2024 21:04
@shenanigansdshenanigansd
synchronize #183
br/py312
Status Failure
Total duration 48s
Artifacts

python-ci.yaml

on: pull_request
Matrix: test
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

11 errors
docs / build
Process completed with exit code 2.
Ruff (PLR6301): src/bot/bot.py#L39
src/bot/bot.py:39:15: PLR6301 Method `on_error` could be a function, class method, or static method
Ruff (PLR0917): src/bot/exts/core/log.py#L22
src/bot/exts/core/log.py:22:15: PLR0917 Too many positional arguments (12/5)
Ruff (PLR6301): src/bot/exts/info/code_snippets.py#L82
src/bot/exts/info/code_snippets.py:82:9: PLR6301 Method `_find_ref` could be a function, class method, or static method
Ruff (PLR6301): src/bot/exts/info/code_snippets.py#L213
src/bot/exts/info/code_snippets.py:213:9: PLR6301 Method `_snippet_to_codeblock` could be a function, class method, or static method
Ruff (PLR0912): src/bot/exts/utilities/internal.py#L48
src/bot/exts/utilities/internal.py:48:9: PLR0912 Too many branches (13 > 12)
Ruff (ANN401): src/bot/exts/utilities/internal.py#L48
src/bot/exts/utilities/internal.py:48:38: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `out`
Ruff (SIM108): src/bot/exts/utilities/internal.py#L65
src/bot/exts/utilities/internal.py:65:13: SIM108 Use ternary operator `start = f"In [{self.ln}]: " if i == 0 else "...: ".rjust(len(str(self.ln)) + 7)` instead of `if`-`else`-block
Ruff (PLW2901): src/bot/exts/utilities/internal.py#L89
src/bot/exts/utilities/internal.py:89:17: PLW2901 `for` loop variable `line` overwritten by assignment target
Ruff (BLE001): src/bot/exts/utilities/internal.py#L183
src/bot/exts/utilities/internal.py:183:16: BLE001 Do not catch blind exception: `Exception`
Ruff (PLR6301): src/bot/exts/utilities/internal.py#L223
src/bot/exts/utilities/internal.py:223:15: PLR6301 Method `internal_group` could be a function, class method, or static method