Skip to content

Commit

Permalink
fix linter remove unused imports and variables (#1375)
Browse files Browse the repository at this point in the history
* fix linter remove unused imports and variables

* add UNUSED comment
  • Loading branch information
jerryfletcher21 authored Sep 9, 2024
1 parent 30e3fb1 commit fbbccc1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions api/nick_generator/nick_generator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import hashlib
import time

from .utils import human_format
# UNUSED
# import time

# UNUSED
# from .utils import human_format


class NickGenerator:
Expand Down Expand Up @@ -94,7 +97,7 @@ def from_SHA256(self, hash=None):
# if self.verbose:
# print(f"Adverb: {adv}, id {adv_id}.")
else:
adv_id, adv, remainder = 0, "", nick_id
adv, remainder = "", nick_id

# Compute adjective id
if self.use_adj:
Expand Down

0 comments on commit fbbccc1

Please sign in to comment.