ruff F401 (imported but unused)
This commit is contained in:
parent
fb1cb67810
commit
f58f46ca85
3 changed files with 2 additions and 5 deletions
|
|
@ -20,7 +20,7 @@
|
|||
addrgen: Address generation initialization code for the MMGen suite
|
||||
"""
|
||||
|
||||
from .keygen import KeyGenerator # convenience import
|
||||
from .keygen import KeyGenerator # noqa: F401 (convenience import)
|
||||
|
||||
# decorator for to_addr() and to_viewkey()
|
||||
def check_data(orig_func):
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@ from .binary import Binary, binary # noqa: F401
|
|||
from .boolean import Boolean, boolean # noqa: F401
|
||||
from .big_endian_int import BigEndianInt, big_endian_int # noqa: F401
|
||||
from .lists import List # noqa: F401
|
||||
from .text import Text, text # noqa: #401
|
||||
from .text import Text, text # noqa: F401
|
||||
from .serializable import Serializable # noqa: F401
|
||||
|
|
|
|||
|
|
@ -100,9 +100,6 @@ ignore = [
|
|||
]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"mmgen/proto/eth/pyethereum/*" = [ "F401" ] # imported but unused
|
||||
"mmgen/proto/eth/rlp/sedes/*" = [ "F401" ] # imported but unused
|
||||
"mmgen/addrgen.py" = [ "F401" ] # imported but unused
|
||||
"mmgen/tool/*" = [
|
||||
"F722", # Syntax error in forward annotation
|
||||
"F821" # Undefined name `sstr`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue