Skip to content

feat(ruff): add Ruff configuration for code linting and formatting #2

feat(ruff): add Ruff configuration for code linting and formatting

feat(ruff): add Ruff configuration for code linting and formatting #2

Triggered via pull request March 7, 2025 03:54
Status Failure
Total duration 19s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (UP035): core/bot.py#L8
core/bot.py:8:1: UP035 `typing.Dict` is deprecated, use `dict` instead
Ruff (UP035): core/bot.py#L8
core/bot.py:8:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (UP035): core/bot.py#L8
core/bot.py:8:1: UP035 `typing.Type` is deprecated, use `type` instead
Ruff (W291): core/bot.py#L70
core/bot.py:70:73: W291 Trailing whitespace
Ruff (W291): core/bot.py#L71
core/bot.py:71:73: W291 Trailing whitespace
Ruff (W291): core/bot.py#L72
core/bot.py:72:73: W291 Trailing whitespace
Ruff (W291): core/bot.py#L73
core/bot.py:73:73: W291 Trailing whitespace
Ruff (UP004): core/bot.py#L77
core/bot.py:77:13: UP004 Class `Umaru` inherits from `object`
Ruff (UP006): core/bot.py#L78
core/bot.py:78:11: UP006 Use `list` instead of `List` for type annotation
Ruff (F541): core/bot.py#L146
core/bot.py:146:22: F541 f-string without any placeholders