view tests/test-check-format.t @ 52051:503b7688f057

rust-pathauditor: make sure we actually test the nested repo case This covers the *on-disk* case, where the path itself does not have a `.hg` component.
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 03 Oct 2024 01:52:44 +0200
parents ceaf92d6d380
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

  $ . "$TESTDIR/helpers-testrepo.sh"

  $ cd $RUNTESTDIR/..
  $ black --check --diff `testrepohg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`