tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 29 Sep 2021 15:07:21 +0200
changeset 48095 20d0149b8a0a
parent 46870 41d43d12c2c4
permissions -rw-r--r--
dirstate-item: use `tracked` instead of `state` in context.matches Differential Revision: https://phab.mercurial-scm.org/D11532

#require black test-repo

Black needs the real USERPROFILE in order to run on Windows
#if msys
  $ USERPROFILE="$REALUSERPROFILE"
  $ export USERPROFILE
#endif

  $ cd $RUNTESTDIR/..
  $ black --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`