view tests/test-check-format.t @ 49478:d8ce883ff1f4

rust-matchers: implement DifferenceMatcher This can be generated by the sparse matcher.
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 06 Jul 2022 11:44:20 +0200
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/**'`