Patchwork D10273: typing: disable processing of mercurial/upgrade_utils/actions.py

login
register
mail settings
Submitter phabricator
Date March 26, 2021, 12:10 a.m.
Message ID <differential-rev-PHID-DREV-7chcpmepq5hlor7mi6tq-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48588/
State Superseded
Headers show

Comments

phabricator - March 26, 2021, 12:10 a.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  There was a recent regression in pytype that causes processing to stall and
  consume memory, and it doesn't sound like it will be fixed any time soon.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10273

AFFECTED FILES
  mercurial/upgrade_utils/actions.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/upgrade_utils/actions.py b/mercurial/upgrade_utils/actions.py
--- a/mercurial/upgrade_utils/actions.py
+++ b/mercurial/upgrade_utils/actions.py
@@ -5,6 +5,9 @@ 
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
+# See https://github.com/google/pytype/issues/860
+# pytype: skip-file
+
 from __future__ import absolute_import
 
 from ..i18n import _