Mercurial > hg
comparison mercurial/cffi/osutil.py @ 46785:521ac0d7047f stable
typing: disable import error warnings that are already handled
I'm assuming that the cffi ones are handled somewhere, but the others definitely
are.
Differential Revision: https://phab.mercurial-scm.org/D10207
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 13 Mar 2021 00:38:59 -0500 |
parents | 687b865b95ad |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
46784:65f437c240f2 | 46785:521ac0d7047f |
---|---|
13 from ..pure.osutil import * | 13 from ..pure.osutil import * |
14 | 14 |
15 from .. import pycompat | 15 from .. import pycompat |
16 | 16 |
17 if pycompat.isdarwin: | 17 if pycompat.isdarwin: |
18 from . import _osutil | 18 from . import _osutil # pytype: disable=import-error |
19 | 19 |
20 ffi = _osutil.ffi | 20 ffi = _osutil.ffi |
21 lib = _osutil.lib | 21 lib = _osutil.lib |
22 | 22 |
23 listdir_batch_size = 4096 | 23 listdir_batch_size = 4096 |