tests/test-check-format.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 24 Jun 2024 12:05:31 +0200
branchstable
changeset 51646 6454c117c6a4
parent 46870 41d43d12c2c4
permissions -rw-r--r--
branching: merge default into stable for 6.8rc0

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