tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 30 Aug 2023 12:51:27 +0200
changeset 50924 6543469a351e
parent 46870 41d43d12c2c4
permissions -rw-r--r--
lfs: use sysstr to check for attribute presence We do not need bytes here.

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