Mercurial > hg
annotate tests/test-check-format.t @ 43237:b21e3a747501
tests: fix formatting test after move of black config
Differential Revision: https://phab.mercurial-scm.org/D7102
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 15 Oct 2019 09:48:27 -0400 |
parents | fb41ea2ea076 |
children | abb95b6f79d3 |
rev | line source |
---|---|
43095
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 #require grey |
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 (this should use the actual black as soon as possible) |
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
4 |
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 $ cd $RUNTESTDIR/.. |
43237
b21e3a747501
tests: fix formatting test after move of black config
Augie Fackler <augie@google.com>
parents:
43095
diff
changeset
|
6 $ python3 contrib/grey.py --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'` |
43095
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
7 |