view tests/test-check-format.t @ 49539:8076298b795a stable

rhg: fallback to slow path on invalid patterns in hgignore
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Mon, 31 Oct 2022 16:15:54 +0000
parents 41d43d12c2c4
children ceaf92d6d380
line wrap: on
line source

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