fix(repo): ruff fixes / removing pylint exceptions
All checks were successful
Actions / Lint Code (Ruff) (push) Successful in 6s
Actions / Build Documentation (MkDocs) (push) Successful in 25s

This commit is contained in:
SeaswimmerTheFsh 2024-02-14 11:04:26 -05:00
parent e34d621e6d
commit 858a1bae8a
Signed by: cswimr
GPG key ID: B8953EC01E5C4063
12 changed files with 51 additions and 56 deletions

View file

@ -1,5 +1,3 @@
# pylint: disable=cyclic-import
import json
import sqlite3
import time
@ -87,8 +85,8 @@ async def create_guild_table(guild: Guild):
"NULL",
"NULL",
0,
json.dumps([]), # pylint: disable=dangerous-default-value
json.dumps({}), # pylint: disable=dangerous-default-value
json.dumps([]),
json.dumps({}),
)
cursor.execute(insert_query, insert_values)
@ -104,7 +102,6 @@ async def create_guild_table(guild: Guild):
database.close()
# pylint: disable=dangerous-default-value
async def mysql_log(
guild_id: str,
author_id: str,