Commit 2247bf3cec7 by Gregory Szorc

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

--HG--
branch : stable
parent 6469c23a40a
......@@ -9,7 +9,6 @@ build/
| \.mypy_cache/
| \.venv/
| mercurial/thirdparty/
| hgext/fsmonitor/pywatchman/
| contrib/python-zstandard/
'''
skip-string-normalization = true
......
......@@ -6,4 +6,4 @@ rustfmt:command = rustfmt {rootpath}
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/**"
#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/**"'`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment