fsmonitor: remove pywatchman from exclusion rule stable
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 02 Nov 2019 12:51:28 -0700
branchstable
changeset 43386 2247bf3cec76
parent 43385 6469c23a40a2
child 43387 9eed959cd8ae
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
black.toml
contrib/examples/fix.hgrc
tests/test-check-format.t
--- 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/**"'`