view tests/test-check-format.t @ 49413:b380583ad2f5

perf-bundle: accept --type argument
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 11 Jul 2022 23:30:24 +0200
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/**'`