# HG changeset patch # User Gregory Szorc # Date 1572724288 25200 # Node ID 2247bf3cec7618d9d2dc865f9aa1f7778e66943e # Parent 6469c23a40a251f2aac00526c431c1bc7881f78c fsmonitor: remove pywatchman from exclusion rule The recently vendored pywatchman code base is now formatted with black. We can now remove pywatchman from our black exclusion rule. Differential Revision: https://phab.mercurial-scm.org/D7202 diff -r 6469c23a40a2 -r 2247bf3cec76 black.toml --- a/black.toml Sat Nov 02 12:42:23 2019 -0700 +++ b/black.toml Sat Nov 02 12:51:28 2019 -0700 @@ -9,7 +9,6 @@ | \.mypy_cache/ | \.venv/ | mercurial/thirdparty/ -| hgext/fsmonitor/pywatchman/ | contrib/python-zstandard/ ''' skip-string-normalization = true diff -r 6469c23a40a2 -r 2247bf3cec76 contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc Sat Nov 02 12:42:23 2019 -0700 +++ b/contrib/examples/fix.hgrc Sat Nov 02 12:51:28 2019 -0700 @@ -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 -r 6469c23a40a2 -r 2247bf3cec76 tests/test-check-format.t --- a/tests/test-check-format.t Sat Nov 02 12:42:23 2019 -0700 +++ b/tests/test-check-format.t Sat Nov 02 12:51:28 2019 -0700 @@ -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/**"'`