view tests/test-check-format.t @ 48236:f8dc78716ad2

rhg: fix `hg cat` interaction with null revision Differential Revision: https://phab.mercurial-scm.org/D11664
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Thu, 14 Oct 2021 19:02:08 +0100
parents 41d43d12c2c4
children
line wrap: on
line source

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