tests/test-check-format.t
changeset 43732 2d8d4e08c493
parent 43386 2247bf3cec76
child 44232 5e84a96d865b
--- a/tests/test-check-format.t	Sat Nov 16 11:53:47 2019 -0800
+++ b/tests/test-check-format.t	Sat Nov 16 11:54:39 2019 -0800
@@ -1,5 +1,5 @@
 #require black
 
   $ cd $RUNTESTDIR/..
-  $ black --config=black.toml --check --diff `hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"'`
+  $ black --config=black.toml --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/** - "contrib/python-zstandard/**"'`