Update pre-commit versions

This commit is contained in:
Mark Veidemanis 2023-02-09 07:20:13 +00:00
parent 87b81ac236
commit 210237b50a
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
3 changed files with 0 additions and 3 deletions

View File

@ -98,7 +98,6 @@ class IRCRelayFactory(ReconnectingClientFactory):
self.relayCommands, self.user, self.stage2 = relayCommands, user, stage2 self.relayCommands, self.user, self.stage2 = relayCommands, user, stage2
def buildProtocol(self, addr): def buildProtocol(self, addr):
entry = IRCRelay(self.num, self.relayCommands, self.user, self.stage2) entry = IRCRelay(self.num, self.relayCommands, self.user, self.stage2)
self.client = entry self.client = entry

View File

@ -56,7 +56,6 @@ class Chan4(object):
self.log.debug(f"Created new hash key: {self.hash_key}") self.log.debug(f"Created new hash key: {self.hash_key}")
db.r.set("hashing_key", self.hash_key) db.r.set("hashing_key", self.hash_key)
else: else:
self.hash_key = self.hash_key.decode("ascii") self.hash_key = self.hash_key.decode("ascii")
self.log.debug(f"Decoded hash key: {self.hash_key}") self.log.debug(f"Decoded hash key: {self.hash_key}")

View File

@ -43,7 +43,6 @@ class ColoredFormatter(logging.Formatter):
def get_logger(name): def get_logger(name):
# Define the logging format # Define the logging format
FORMAT = "%(asctime)s %(levelname)18s $BOLD%(name)13s$RESET - %(message)s" FORMAT = "%(asctime)s %(levelname)18s $BOLD%(name)13s$RESET - %(message)s"
COLOR_FORMAT = formatter_message(FORMAT, True) COLOR_FORMAT = formatter_message(FORMAT, True)