author | Augie Fackler <augie@google.com> |
Mon, 01 Feb 2021 11:57:18 -0500 | |
changeset 46449 | 62a0b5daa15f |
parent 46382 | d4c8b4b90ecb |
child 46455 | 5be886200eb6 |
permissions | -rw-r--r-- |
45389
f62bb5d07848
test: add `test-repo` requirement to `test-check-format` (issue6395)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
44147
diff
changeset
|
1 |
#require black test-repo |
43095
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 |
|
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 |
$ cd $RUNTESTDIR/.. |
46382
d4c8b4b90ecb
black: merge config into main pyproject.toml now that we have it
Augie Fackler <augie@google.com>
parents:
45389
diff
changeset
|
4 |
$ black --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'` |
43095
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 |