Mercurial > hg
view tests/test-check-format.t @ 49605:b3480822a251 stable
matcher: do not prepend '.*' to pattern using ^ after flags
Since the previous commit (fixing wider issue), the code generated strange
regex. This is now fixed and tested.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 16 Nov 2022 15:39:10 +0100 |
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/**'`