tests/test-check-format.t
author Anton Shestakov <av6@dwimlabs.net>
Wed, 31 May 2023 12:00:21 -0300
changeset 50547 003418163195
parent 46870 41d43d12c2c4
child 51919 ceaf92d6d380
permissions -rw-r--r--
debug: slightly improve wording on the InputErrors from the previous patch

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