Stuff and things
This commit is contained in:
parent
c4cb40da49
commit
bfc37ec99f
3 changed files with 6 additions and 2 deletions
6
main.py
6
main.py
|
|
@ -689,7 +689,11 @@ class LoviBotClient(discord.Client):
|
||||||
update_trigger_time(str(message.channel.id), message.author.name)
|
update_trigger_time(str(message.channel.id), message.author.name)
|
||||||
|
|
||||||
logger.info(
|
logger.info(
|
||||||
"Received message: %s from: %s (trigger: %s, recent: %s)", incoming_message, message.author.name, has_trigger_keyword, not has_trigger_keyword
|
"Received message: %s from: %s (trigger: %s, recent: %s)",
|
||||||
|
incoming_message,
|
||||||
|
message.author.name,
|
||||||
|
has_trigger_keyword,
|
||||||
|
not has_trigger_keyword,
|
||||||
)
|
)
|
||||||
|
|
||||||
async with message.channel.typing():
|
async with message.channel.typing():
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ docstring-code-format = true
|
||||||
docstring-code-line-length = 20
|
docstring-code-line-length = 20
|
||||||
|
|
||||||
[tool.ruff.lint.per-file-ignores]
|
[tool.ruff.lint.per-file-ignores]
|
||||||
"**/*_test.py" = [
|
"**/test_*.py" = [
|
||||||
"ARG", # Unused function args -> fixtures nevertheless are functionally relevant...
|
"ARG", # Unused function args -> fixtures nevertheless are functionally relevant...
|
||||||
"FBT", # Don't care about booleans as positional arguments in tests, e.g. via @pytest.mark.parametrize()
|
"FBT", # Don't care about booleans as positional arguments in tests, e.g. via @pytest.mark.parametrize()
|
||||||
"PLR2004", # Magic value used in comparison, ...
|
"PLR2004", # Magic value used in comparison, ...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue