Skip to content

Chatbot with chat history stored in Database #11355

Chatbot with chat history stored in Database

Chatbot with chat history stored in Database #11355

Triggered via pull request October 19, 2024 04:49
Status Failure
Total duration 14s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (INP001): neural_network/chatbot/chatbot.py#L1
neural_network/chatbot/chatbot.py:1:1: INP001 File `neural_network/chatbot/chatbot.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (I001): neural_network/chatbot/chatbot.py#L1
neural_network/chatbot/chatbot.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (UP035): neural_network/chatbot/chatbot.py#L2
neural_network/chatbot/chatbot.py:2:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (UP035): neural_network/chatbot/chatbot.py#L2
neural_network/chatbot/chatbot.py:2:1: UP035 `typing.Dict` is deprecated, use `dict` instead
Ruff (E501): neural_network/chatbot/chatbot.py#L7
neural_network/chatbot/chatbot.py:7:89: E501 Line too long (104 > 88)
Ruff (E501): neural_network/chatbot/chatbot.py#L11
neural_network/chatbot/chatbot.py:11:89: E501 Line too long (93 > 88)
Ruff (E501): neural_network/chatbot/chatbot.py#L13
neural_network/chatbot/chatbot.py:13:89: E501 Line too long (98 > 88)
Ruff (UP006): neural_network/chatbot/chatbot.py#L26
neural_network/chatbot/chatbot.py:26:36: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): neural_network/chatbot/chatbot.py#L26
neural_network/chatbot/chatbot.py:26:41: UP006 Use `dict` instead of `Dict` for type annotation
Ruff (DTZ005): neural_network/chatbot/chatbot.py#L33
neural_network/chatbot/chatbot.py:33:22: DTZ005 `datetime.datetime.now()` called without a `tz` argument