Show More
@@ -1,5 +1,5 b'' | |||||
1 | #require black |
|
1 | #require black | |
2 |
|
2 | |||
3 | $ cd $RUNTESTDIR/.. |
|
3 | $ cd $RUNTESTDIR/.. | |
4 | $ black --config=black.toml --check --diff `hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"'` |
|
4 | $ black --config=black.toml --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/** - "contrib/python-zstandard/**"'` | |
5 |
|
5 |
@@ -11,6 +11,7 b' look for python scripts that do not use ' | |||||
11 | In tests, enforce $PYTHON and *not* /usr/bin/env python or similar: |
|
11 | In tests, enforce $PYTHON and *not* /usr/bin/env python or similar: | |
12 | $ testrepohg files 'set:grep(r"#!.*?python") and **/*.t' \ |
|
12 | $ testrepohg files 'set:grep(r"#!.*?python") and **/*.t' \ | |
13 | > -X tests/test-check-execute.t \ |
|
13 | > -X tests/test-check-execute.t \ | |
|
14 | > -X tests/test-check-format.t \ | |||
14 | > -X tests/test-check-module-imports.t \ |
|
15 | > -X tests/test-check-module-imports.t \ | |
15 | > -X tests/test-check-pyflakes.t \ |
|
16 | > -X tests/test-check-pyflakes.t \ | |
16 | > -X tests/test-check-shbang.t |
|
17 | > -X tests/test-check-shbang.t |
General Comments 0
You need to be logged in to leave comments.
Login now