tests/test-check-format.t
author Matt Harbison <matt_harbison@yahoo.com>
Wed, 24 Nov 2021 20:45:27 -0500
changeset 48351 981509bb10ac
parent 46870 41d43d12c2c4
child 51919 ceaf92d6d380
permissions -rw-r--r--
packaging: bump windows_curses to 2.3.0 This is required for Python 3.10 support. Differential Revision: https://phab.mercurial-scm.org/D11804

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