Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
31bbf7a28a75
Commit
31bbf7a28a75
authored
2 years ago
by
Matt Harbison
Browse files
Options
Downloads
Patches
Plain Diff
pytype: add coverage for hgdemandimport
This would have flagged what needed fixing in
48e38b179106
long ago.
parent
fda5a4b853ab
Loading
Loading
2 merge requests
!485
branching: merge default into stable
,
!379
Add pytype coverage to the extensions
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/check-pytype.sh
+1
-1
1 addition, 1 deletion
contrib/check-pytype.sh
hgdemandimport/demandimportpy3.py
+2
-0
2 additions, 0 deletions
hgdemandimport/demandimportpy3.py
with
3 additions
and
1 deletion
contrib/check-pytype.sh
+
1
−
1
View file @
31bbf7a2
...
...
@@ -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
\
...
...
This diff is collapsed.
Click to expand it.
hgdemandimport/demandimportpy3.py
+
2
−
0
View file @
31bbf7a2
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment