Patchwork D7087: black: rename pyproject.toml to black.toml

login
register
mail settings
Submitter phabricator
Date Oct. 15, 2019, 3:01 a.m.
Message ID <3b96c7a1c0d74a768e00a55291a3d626@localhost.localdomain>
Download mbox | patch
Permalink /patch/42341/
State Not Applicable
Headers show

Comments

phabricator - Oct. 15, 2019, 3:01 a.m.
Closed by commit rHG8f89899a5446: black: rename pyproject.toml to black.toml (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7087?vs=17134&id=17160

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7087/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7087

AFFECTED FILES
  black.toml
  contrib/examples/fix.hgrc
  pyproject.toml
  tests/test-check-code.t

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/tests/test-check-code.t b/tests/test-check-code.t
--- a/tests/test-check-code.t
+++ b/tests/test-check-code.t
@@ -64,10 +64,10 @@ 
   COPYING
   Makefile
   README.rst
+  black.toml
   hg
   hgeditor
   hgweb.cgi
-  pyproject.toml
   setup.py
 
 Prevent adding modules which could be shadowed by ancient .so/.dylib.
diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc
--- a/contrib/examples/fix.hgrc
+++ b/contrib/examples/fix.hgrc
@@ -11,5 +11,5 @@ 
 # git+https://github.com/python/black/@d9e71a75ccfefa3d9156a64c03313a0d4ad981e5
 # to have the dependencies for grey.
 #
-# black:command = python3.7 contrib/grey.py --quiet --skip-string-normalization -
+# black:command = python3.7 contrib/grey.py --quiet --config=black.toml --skip-string-normalization -
 # black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"
diff --git a/pyproject.toml b/black.toml
rename from pyproject.toml
rename to black.toml