tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sun, 04 Jul 2021 01:44:43 +0200
changeset 47526 8bcae9bf9e8d
parent 46870 41d43d12c2c4
permissions -rw-r--r--
dirstate-entry: add a `added` property Lets use more semantic property instead of the `state` implementation details. Differential Revision: https://phab.mercurial-scm.org/D10968

#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/**'`