view tests/test-check-format.t @ 48828:40a65f5594f5

setup: inline encoding constant that is only used once This was variable back when we supported Python 2. Differential Revision: https://phab.mercurial-scm.org/D12272
author Augie Fackler <augie@google.com>
date Wed, 02 Mar 2022 10:11:37 -0500
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/**'`