tests/test-check-format.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 06 Dec 2021 11:10:59 +0100
branchstable
changeset 48333 5140461ee947
parent 46870 41d43d12c2c4
permissions -rw-r--r--
fsmonitor: incorporate fixes for Python 3.10 (issue6612) Differential Revision: https://phab.mercurial-scm.org/D11862

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