tests/test-check-format.t
author Raphaël Gomès <rgomes@octobus.net>
Wed, 02 Feb 2022 15:03:29 +0100
branchstable
changeset 48678 75676122c2bf
parent 46870 41d43d12c2c4
permissions -rw-r--r--
relnotes: add 6.0.1 and 6.0.2 notes Differential Revision: https://phab.mercurial-scm.org/D12130

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