Skip to content

Commit

Permalink
mypy fix: roles
Browse files Browse the repository at this point in the history
  • Loading branch information
solumath committed Apr 4, 2024
1 parent ada88b9 commit 20b7ead
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cogs/roles/cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ async def get_overwrites(
user_overwrites += len(channel_user_overwrites)
total_overwrites += len(channel_overwrites)

output = []
channels_output = dict(sorted(channels_output.items(), key=lambda item: item[1], reverse=True))
with io.StringIO() as output:
output.write(f"User overwrites total:{user_overwrites}\n")
Expand Down
2 changes: 1 addition & 1 deletion database/year_increment.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from database import database


class User_backup(database.base):
class User_backup(database.base): # type: ignore
__tablename__ = "bot_user_backup"

member_ID = Column(String, primary_key=True)

0 comments on commit 20b7ead

Please sign in to comment.