profiling: disable the import-error warning for the flamegraph module
The module being missing is properly handled, but pytype was complaining.
Differential Revision: https://phab.mercurial-scm.org/D7469
--- a/mercurial/profiling.py Thu Nov 21 15:31:33 2019 -0500
+++ b/mercurial/profiling.py Thu Nov 21 15:38:23 2019 -0500
@@ -77,7 +77,7 @@
@contextlib.contextmanager
def flameprofile(ui, fp):
try:
- from flamegraph import flamegraph
+ from flamegraph import flamegraph # pytype: disable=import-error
except ImportError:
raise error.Abort(
_(