tests/test-check-format.t
changeset 46870 41d43d12c2c4
parent 46774 decc3bd3f20d
equal deleted inserted replaced
46869:ed286d150aa8 46870:41d43d12c2c4
     1 #require black test-repo
     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
     2 
     8 
     3   $ cd $RUNTESTDIR/..
     9   $ cd $RUNTESTDIR/..
     4   $ black --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`
    10   $ black --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`
     5 
    11