fix linting issues

This commit is contained in:
zixuanzh
2019-03-17 21:30:56 -04:00
committed by Stuckinaboot
parent 2e437e5b8b
commit fee905ace2
5 changed files with 12 additions and 11 deletions

View File

@ -35,7 +35,7 @@ def initialize_default_swarm(
:param peerstore_opt: optional peerstore
:return: return a default swarm instance
"""
# pylint: disable=too-many-arguments
# pylint: disable=too-many-arguments, unused-argument
if not id_opt:
new_key = RSA.generate(2048, e=65537)
id_opt = id_from_public_key(new_key.publickey())