added unittest #11462
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#L5
neural_network/chatbot/chat_db.py:5:1: I001 Import block is un-sorted or un-formatted
|
Ruff (E501):
neural_network/chatbot/chat_db.py#L40
neural_network/chatbot/chat_db.py:40:89: E501 Line too long (92 > 88)
|
Ruff (E501):
neural_network/chatbot/chat_db.py#L134
neural_network/chatbot/chat_db.py:134:89: E501 Line too long (92 > 88)
|
Ruff (UP017):
neural_network/chatbot/chat_db.py#L228
neural_network/chatbot/chat_db.py:228:49: UP017 Use `datetime.UTC` alias
|
Ruff (E501):
neural_network/chatbot/chat_db.py#L233
neural_network/chatbot/chat_db.py:233:89: E501 Line too long (91 > 88)
|
Ruff (UP017):
neural_network/chatbot/chat_db.py#L265
neural_network/chatbot/chat_db.py:265:58: UP017 Use `datetime.UTC` alias
|
Ruff (UP017):
neural_network/chatbot/chat_db.py#L277
neural_network/chatbot/chat_db.py:277:54: UP017 Use `datetime.UTC` alias
|
Ruff (ARG002):
neural_network/chatbot/chat_db.py#L289
neural_network/chatbot/chat_db.py:289:46: ARG002 Unused method argument: `mock_input`
|
Ruff (PT009):
neural_network/chatbot/chat_db.py#L298
neural_network/chatbot/chat_db.py:298:9: PT009 Use a regular `assert` instead of unittest-style `assertIn`
|