Patchwork D8619: tests: skip pyflakes for selectors2.py

login
register
mail settings
Submitter phabricator
Date June 6, 2020, 11:32 a.m.
Message ID <differential-rev-PHID-DREV-5i2wou3xyvgm6nq6nsl3-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46481/
State Superseded
Headers show

Comments

phabricator - June 6, 2020, 11:32 a.m.
av6 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The current version (2.2.0) correctly detects one issue:
  
    mercurial/thirdparty/selectors2.py:335:40 '...'.format(...) has unused arguments at position(s): 1
  
  But we're not interested in fixing lint errors in third-party code, so there.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-check-pyflakes.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-check-pyflakes.t b/tests/test-check-pyflakes.t
--- a/tests/test-check-pyflakes.t
+++ b/tests/test-check-pyflakes.t
@@ -18,6 +18,7 @@ 
   > -X mercurial/pycompat.py -X contrib/python-zstandard \
   > -X mercurial/thirdparty/cbor \
   > -X mercurial/thirdparty/concurrent \
+  > -X mercurial/thirdparty/selectors2.py \
   > -X mercurial/thirdparty/zope \
   > 2>/dev/null \
   > | xargs $PYTHON -m pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"