tests/test-check-format.t
author Anton Shestakov <av6@dwimlabs.net>
Wed, 25 Jan 2023 17:52:00 +0400
branchstable
changeset 49641 43bfddcba7d6
parent 46870 41d43d12c2c4
permissions -rw-r--r--
convert: brz 3.3.0 moved NoSuchFile exception to breezy.transport

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