tests/test-check-format.t
author Manuel Jacob <me@manueljacob.de>
Sun, 29 May 2022 15:43:21 +0200
changeset 49296 b6b6ae9ea91e
parent 46870 41d43d12c2c4
permissions -rw-r--r--
py3: remove dead code to make file descriptors non-inheritable On Python 3, file descriptors are already non-inheritable by default.

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