tests/test-check-format.t
author Augie Fackler <augie@google.com>
Tue, 15 Oct 2019 09:48:27 -0400
changeset 43237 b21e3a747501
parent 43095 fb41ea2ea076
child 43347 abb95b6f79d3
permissions -rw-r--r--
tests: fix formatting test after move of black config Differential Revision: https://phab.mercurial-scm.org/D7102
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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