# HG changeset patch # User Augie Fackler # Date 1570368914 14400 # Node ID 929678eb4cbdf90d894923148cae6980bd88e7d4 # Parent 9bfd083bc6ee8c41d94dce9b0737cb4fa810c98e black: add a pyproject.toml that contains our black settings Differential Revision: https://phab.mercurial-scm.org/D6993 diff -r 9bfd083bc6ee -r 929678eb4cbd pyproject.toml --- /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/' diff -r 9bfd083bc6ee -r 929678eb4cbd tests/test-check-code.t --- 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.