view tests/test-check-format.t @ 49837:dcf983a5f906

ui: drop the deprecated `expandpath()` This was deprecated since 5.8.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 03 Jan 2023 11:48:21 -0500
parents 41d43d12c2c4
children ceaf92d6d380
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/**'`