author | Augie Fackler <augie@google.com> |
Tue, 01 Dec 2020 12:59:33 -0500 | |
changeset 46787 | decc3bd3f20d |
parent 46520 | 5be886200eb6 |
child 46870 | 41d43d12c2c4 |
permissions | -rw-r--r-- |
45208
f62bb5d07848
test: add `test-repo` requirement to `test-check-format` (issue6395)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
44232
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/.. |
46787
decc3bd3f20d
black: merge config into main pyproject.toml now that we have it
Augie Fackler <augie@google.com>
parents:
46520
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 |