view tests/test-check-format.t @ 52167:7dd466f13f9b stable

ci: build (and use) wheel for all supported version We test wheel building for all supported version and use them where applicable The usage is more verbose than I wish because .gitlab-ci is not that great.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 06 Nov 2024 16:40:58 +0100
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/**'`