tests/test-check-format.t
author Valentin Gatien-Baron <vgatien-baron@janestreet.com>
Fri, 06 Aug 2021 16:17:17 -0400
changeset 47874 308e843f24b1
parent 46870 41d43d12c2c4
permissions -rw-r--r--
test: reduce noise, so the important bits stand out Differential Revision: https://phab.mercurial-scm.org/D11264

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