tests/test-check-format.t
raw| 1 | #require black test-repo |
| 2 | |
| 3 | Black needs the real USERPROFILE in order to run on Windows |
| 4 | #if msys |
| 5 | $ USERPROFILE="$REALUSERPROFILE" |
| 6 | $ export USERPROFILE |
| 7 | #endif |
| 8 | |
| 9 | $ . "$TESTDIR/helpers-testrepo.sh" |
| 10 | |
| 11 | $ cd $RUNTESTDIR/.. |
| 12 | $ black --check --diff `testrepohg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'` |
| 13 |