tests/test-check-format.t
author pacien <pacien.trangirard@pacien.net>
Thu, 10 Feb 2022 16:20:14 +0100
changeset 48767 654baf1faa52
parent 46870 41d43d12c2c4
permissions -rw-r--r--
revlog: memset whole record instead of dealing with padding This is less error-prone. Differential Revision: https://phab.mercurial-scm.org/D12177

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