tests/test-check-format.t
author Raphaël Gomès <rgomes@octobus.net>
Thu, 21 Mar 2024 12:23:25 +0100
branchstable
changeset 51512 2e6fde2ed01e
parent 46870 41d43d12c2c4
permissions -rw-r--r--
relnotes: add 6.7.1

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