Skip to content

refactored chatbot_db.py #11456

refactored chatbot_db.py

refactored chatbot_db.py #11456

Triggered via pull request October 20, 2024 06:36
Status Failure
Total duration 13s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (INP001): neural_network/chatbot/chat_db.py#L1
neural_network/chatbot/chat_db.py:1:1: INP001 File `neural_network/chatbot/chat_db.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (I001): neural_network/chatbot/chat_db.py#L1
neural_network/chatbot/chat_db.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (E501): neural_network/chatbot/chat_db.py#L24
neural_network/chatbot/chat_db.py:24:89: E501 Line too long (99 > 88)
Ruff (E501): neural_network/chatbot/chat_db.py#L80
neural_network/chatbot/chat_db.py:80:89: E501 Line too long (91 > 88)
Ruff (W291): neural_network/chatbot/chat_db.py#L110
neural_network/chatbot/chat_db.py:110:52: W291 Trailing whitespace
Ruff (E501): neural_network/chatbot/chat_db.py#L154
neural_network/chatbot/chat_db.py:154:89: E501 Line too long (90 > 88)
Ruff (DTZ005): neural_network/chatbot/chat_db.py#L197
neural_network/chatbot/chat_db.py:197:18: DTZ005 `datetime.datetime.now()` called without a `tz` argument
Ruff (DTZ005): neural_network/chatbot/chat_db.py#L218
neural_network/chatbot/chat_db.py:218:32: DTZ005 `datetime.datetime.now()` called without a `tz` argument
Ruff (DTZ005): neural_network/chatbot/chat_db.py#L226
neural_network/chatbot/chat_db.py:226:28: DTZ005 `datetime.datetime.now()` called without a `tz` argument
ruff
Process completed with exit code 1.