From patchwork Mon Nov 4 16:27:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D7202: fsmonitor: remove pywatchman from exclusion rule From: phabricator X-Patchwork-Id: 42714 Message-Id: <668c777c99529b8cef7846ceb1c35320@localhost.localdomain> To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Mon, 4 Nov 2019 16:27:27 +0000 Closed by commit rHG2247bf3cec76: fsmonitor: remove pywatchman from exclusion rule (authored by indygreg). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D7202?vs=17500&id=17519 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7202/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7202 AFFECTED FILES black.toml contrib/examples/fix.hgrc tests/test-check-format.t CHANGE DETAILS To: indygreg, #hg-reviewers Cc: mjpieters, mercurial-devel diff --git a/tests/test-check-format.t b/tests/test-check-format.t --- a/tests/test-check-format.t +++ b/tests/test-check-format.t @@ -1,5 +1,5 @@ #require black $ cd $RUNTESTDIR/.. - $ black --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"'` + $ black --config=black.toml --check --diff `hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"'` diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -6,4 +6,4 @@ rustfmt:pattern = set:**.rs black:command = black --config=black.toml - -black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" +black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**" diff --git a/black.toml b/black.toml --- a/black.toml +++ b/black.toml @@ -9,7 +9,6 @@ | \.mypy_cache/ | \.venv/ | mercurial/thirdparty/ -| hgext/fsmonitor/pywatchman/ | contrib/python-zstandard/ ''' skip-string-normalization = true