tests/test-check-format.t
author Raphaël Gomès <rgomes@octobus.net>
Fri, 18 Feb 2022 12:51:06 +0100
branchstable
changeset 48801 94635b74b18c
parent 46870 41d43d12c2c4
child 51919 ceaf92d6d380
permissions -rw-r--r--
windows: generalize output for test-status-tracked-key.t Differential Revision: https://phab.mercurial-scm.org/D12215

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