##// END OF EJS Templates
fsmonitor: remove pywatchman from exclusion rule...
Gregory Szorc -
r43704:2247bf3c stable
parent child Browse files
Show More
@@ -1,16 +1,15 b''
1 [tool.black]
1 [tool.black]
2 line-length = 80
2 line-length = 80
3 exclude = '''
3 exclude = '''
4 build/
4 build/
5 | wheelhouse/
5 | wheelhouse/
6 | dist/
6 | dist/
7 | packages/
7 | packages/
8 | \.hg/
8 | \.hg/
9 | \.mypy_cache/
9 | \.mypy_cache/
10 | \.venv/
10 | \.venv/
11 | mercurial/thirdparty/
11 | mercurial/thirdparty/
12 | hgext/fsmonitor/pywatchman/
13 | contrib/python-zstandard/
12 | contrib/python-zstandard/
14 '''
13 '''
15 skip-string-normalization = true
14 skip-string-normalization = true
16 quiet = true
15 quiet = true
@@ -1,9 +1,9 b''
1 [fix]
1 [fix]
2 clang-format:command = clang-format --style file -i
2 clang-format:command = clang-format --style file -i
3 clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"
3 clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"
4
4
5 rustfmt:command = rustfmt {rootpath}
5 rustfmt:command = rustfmt {rootpath}
6 rustfmt:pattern = set:**.rs
6 rustfmt:pattern = set:**.rs
7
7
8 black:command = black --config=black.toml -
8 black:command = black --config=black.toml -
9 black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"
9 black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"
@@ -1,5 +1,5 b''
1 #require black
1 #require black
2
2
3 $ cd $RUNTESTDIR/..
3 $ cd $RUNTESTDIR/..
4 $ black --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"'`
4 $ black --config=black.toml --check --diff `hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"'`
5
5
General Comments 0
You need to be logged in to leave comments. Login now