Skip to content

Commit 188d9c5

Browse files
committed
stop importing unused blist
1 parent 16be19b commit 188d9c5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

netfoundry/ctl.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import signal
1414
import jwt
1515
import tempfile
16-
from builtins import list as blist
1716
from json import dumps as json_dumps
1817
from json import load as json_load
1918
from json import loads as json_loads
@@ -43,9 +42,12 @@
4342
from .organization import Organization
4443
from .utility import DC_PROVIDERS, EMBED_NET_RESOURCES, IDENTITY_ID_PROPERTIES, MUTABLE_NET_RESOURCES, MUTABLE_RESOURCE_ABBREV, RESOURCE_ABBREV, RESOURCES, any_in, get_generic_resource_by_type_and_id, normalize_caseless, plural, propid2type, singular
4544

46-
set_metadata(version=f"v{netfoundry_version}", author="NetFoundry", name="nfctl") # must precend import milc.cli
47-
from milc import cli, questions # this uses metadata set above
48-
from milc.subcommand import config # this creates the config subcommand
45+
# must precend import milc.cli
46+
set_metadata(version=f"v{netfoundry_version}", author="NetFoundry", name="nfctl")
47+
# this uses metadata set above
48+
from milc import cli, questions # noqa: E402
49+
# this creates the config subcommand
50+
from milc.subcommand import config # noqa: F401,E402
4951

5052
if platform.system() == 'Linux':
5153
# this allows the app the terminate gracefully when piped to a truncating consumer like `head`

0 commit comments

Comments
 (0)