view tests/test-check-format.t @ 49903:d2e80d27c524

tests: aborting on unknown revision emits exit code 10 even with hgext/git
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 06 Jan 2023 17:51:55 +0400
parents 41d43d12c2c4
children
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/**'`