fix linter remove unused imports and variables (#1375)

* fix linter remove unused imports and variables

* add UNUSED comment
This commit is contained in:
jerry 2024-09-09 00:53:11 +00:00 committed by GitHub
parent 30e3fb11d5
commit fbbccc186d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,10 @@
import hashlib import hashlib
import time
from .utils import human_format # UNUSED
# import time
# UNUSED
# from .utils import human_format
class NickGenerator: class NickGenerator:
@ -94,7 +97,7 @@ class NickGenerator:
# if self.verbose: # if self.verbose:
# print(f"Adverb: {adv}, id {adv_id}.") # print(f"Adverb: {adv}, id {adv_id}.")
else: else:
adv_id, adv, remainder = 0, "", nick_id adv, remainder = "", nick_id
# Compute adjective id # Compute adjective id
if self.use_adj: if self.use_adj: