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
--- 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
--- 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/**"
--- 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/**"'`