Skip to content
Snippets Groups Projects
Commit 31bbf7a28a75 authored by Matt Harbison's avatar Matt Harbison
Browse files

pytype: add coverage for hgdemandimport

This would have flagged what needed fixing in 48e38b179106 long ago.
parent fda5a4b853ab
2 merge requests!485branching: merge default into stable,!379Add pytype coverage to the extensions
......@@ -42,7 +42,7 @@
# TODO: include hgext and hgext3rd
pytype -V 3.7 --keep-going --jobs auto doc/check-seclevel.py mercurial \
pytype -V 3.7 --keep-going --jobs auto doc/check-seclevel.py hgdemandimport mercurial \
-x mercurial/bundlerepo.py \
-x mercurial/context.py \
-x mercurial/crecord.py \
......
......@@ -37,6 +37,8 @@
the ignore list.
"""
_HAS_DYNAMIC_ATTRIBUTES = True # help pytype not flag self.loader
def exec_module(self, module):
"""Make the module load lazily."""
with tracing.log('demandimport %s', module):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment