mirror of https://github.com/zulip/zulip.git
mypy: Remove ignores for a few typeshed bugs fixed upstream.
This commit is contained in:
parent
bfa148ab39
commit
0d1194811f
|
@ -81,7 +81,7 @@ log.addHandler(logging.handlers.SysLogHandler(facility=logging.handlers.SysLogHa
|
|||
log.addHandler(logging.StreamHandler())
|
||||
log.info("Starting.")
|
||||
|
||||
macs = boto.utils.get_instance_metadata()["network"]["interfaces"]["macs"] # type: ignore # boto.utils has no stubs
|
||||
macs = boto.utils.get_instance_metadata()["network"]["interfaces"]["macs"]
|
||||
ids = [int(macdata['device-number']) for macdata in macs.values()]
|
||||
ifaces = [iface for iface in netifaces.interfaces() if ":" not in iface and iface != "lo"]
|
||||
|
||||
|
|
|
@ -19,5 +19,5 @@ except IndexError:
|
|||
sys.exit(1)
|
||||
|
||||
p = pstats.Stats(fn)
|
||||
p.strip_dirs().sort_stats('cumulative').print_stats(25) # type: ignore # stats stubs are broken
|
||||
p.strip_dirs().sort_stats('time').print_stats(25) # type: ignore # stats stubs are broken
|
||||
p.strip_dirs().sort_stats('cumulative').print_stats(25)
|
||||
p.strip_dirs().sort_stats('time').print_stats(25)
|
||||
|
|
Loading…
Reference in New Issue