tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 25 Aug 2021 11:32:49 +0200
branchstable
changeset 47863 132525ead0db
parent 46870 41d43d12c2c4
child 51955 ceaf92d6d380
permissions -rw-r--r--
clone: properly create target directories during local clone (issue6581) The store encoding was mudding the water. This lead to local clone crashing for file with long filename as their destination directory needed to be encoded. Differential Revision: https://phab.mercurial-scm.org/D11340

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