fix(repo): ruff fixes / removing pylint exceptions
This commit is contained in:
parent
e34d621e6d
commit
858a1bae8a
12 changed files with 51 additions and 56 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue