tests/test-check-pyflakes.t
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Thu, 11 Aug 2016 22:50:58 +0200
changeset 1971 ec4924ea8bc6
parent 1930 b82769fd703b
child 2002 053190199959
permissions -rw-r--r--
topic: make sure we have the 'wlock' when setting topic We where writing the '.hg/topic' file without a lot. That was bad.

#require test-repo pyflakes

Copied from Mercurial core (60ee2593a270)

  $ cd "`dirname "$TESTDIR"`"

run pyflakes on all tracked files ending in .py or without a file ending
(skipping binary file random-seed)

  $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
  > | xargs pyflakes 2>/dev/null