view tests/test-check-format.t @ 49282:d7f3f745f20c

cleanup: remove import of already imported module
author Manuel Jacob <me@manueljacob.de>
date Sun, 29 May 2022 12:28:31 +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/**'`