black: add a pyproject.toml that contains our black settings
Differential Revision: https://phab.mercurial-scm.org/D6993
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pyproject.toml Sun Oct 06 09:35:14 2019 -0400
@@ -0,0 +1,3 @@
+[tool.black]
+line-length = 80
+exclude = 'build/|wheelhouse/|dist/|packages/|\.hg/|\.mypy_cache/|\.venv/|mercurial/thirdparty/|hgext/fsmonitor/pywatchman/|contrib/python-zstandard/'
--- a/tests/test-check-code.t Sat Oct 05 10:49:24 2019 -0400
+++ b/tests/test-check-code.t Sun Oct 06 09:35:14 2019 -0400
@@ -66,6 +66,7 @@
hg
hgeditor
hgweb.cgi
+ pyproject.toml
setup.py
Prevent adding modules which could be shadowed by ancient .so/.dylib.