pylint fixes
This commit is contained in:
parent
b2cec385ac
commit
e41b2d58a9
4 changed files with 5 additions and 5 deletions
|
|
@ -86,4 +86,4 @@ async def main():
|
|||
f'Est. halving date (UTC): {date(cur["time"] + t_rem)}\n'
|
||||
f'Est. time until halving: {dhms(cur["time"] + t_rem - clock_time)}\n')
|
||||
|
||||
async_run(cfg, main)
|
||||
async_run(cfg, main) # pylint: disable=too-many-function-args
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ def exec_wrapper_init():
|
|||
repo_root = exec_wrapper_os.getcwd() # assume we’re in repo root
|
||||
exec_wrapper_sys.path[0] = repo_root
|
||||
# ensure loading of mmgen mods from overlay tree, not repo root:
|
||||
from test.overlay import overlay_setup # pylint: disable=import-error
|
||||
from test.overlay import overlay_setup # pylint: disable=import-error,no-name-in-module
|
||||
overlay_setup(repo_root)
|
||||
else:
|
||||
exec_wrapper_sys.path.pop(0)
|
||||
|
|
@ -51,7 +51,7 @@ def exec_wrapper_write_traceback(e, exit_val):
|
|||
import traceback
|
||||
cwd = os.getcwd()
|
||||
sys.path.insert(0, cwd)
|
||||
from test.overlay import get_overlay_tree_dir # pylint: disable=import-error
|
||||
from test.overlay import get_overlay_tree_dir # pylint: disable=import-error,no-name-in-module
|
||||
overlay_path_pfx = os.path.relpath(get_overlay_tree_dir(cwd)) + '/'
|
||||
|
||||
def fixup_fn(fn_in):
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ from collections import namedtuple
|
|||
|
||||
from mmgen.cfg import gc
|
||||
from mmgen.color import red, yellow, green, cyan, gray, nocolor
|
||||
from mmgen.util import ymsg, bmsg, die, suf, make_timestr, isAsync, capfirst
|
||||
from mmgen.util import ymsg, bmsg, die, suf, make_timestr, isAsync, capfirst # pylint: disable=no-name-in-module
|
||||
|
||||
from ...include.common import (
|
||||
cmdtest_py_log_fn,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ test.include.ecc: elliptic curve utilities for the MMGen test suite
|
|||
"""
|
||||
|
||||
import ecdsa, hashlib
|
||||
from mmgen.proto.secp256k1.keygen import overlay_fake_pubkey_format
|
||||
from mmgen.proto.secp256k1.keygen import overlay_fake_pubkey_format # pylint: disable=no-name-in-module
|
||||
|
||||
def _pubkey_to_pub_point(vk_bytes):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue