From f90f50a7436ca13517933c290ef007e7cb2e7258 Mon Sep 17 00:00:00 2001 From: Richard Si <63936253+ichard26@users.noreply.github.com> Date: Sat, 20 Jun 2020 01:29:53 -0400 Subject: [PATCH] Fix toml hashes and make it clear that only TOML is supported (#1510) * Fix TOML hashes * Make it clear that only TOML is supported --- Pipfile | 2 +- Pipfile.lock | 6 +++++- docs/compatible_configs.md | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Pipfile b/Pipfile index f6f5b30..3afe3bb 100644 --- a/Pipfile +++ b/Pipfile @@ -28,7 +28,7 @@ click = ">=6.5" mypy_extensions = ">=0.4.3" pathspec = ">=0.6" regex = ">=2019.8" -toml = "==0.10.1" +toml = ">=0.10.1" typed-ast = "==1.4.0" typing_extensions = ">=3.7.4" black = {editable = true,extras = ["d"],path = "."} diff --git a/Pipfile.lock b/Pipfile.lock index 944c89d..b0da474 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "0bb8f931bef89b929375c1b1337cdaf17a2a4775d546124ad308fdb6c6eebd1b" + "sha256": "4a6956c7c81b496d3fd7a4e3395b332d4dc9a5bed468e36e729a4039c739ad2d" }, "pipfile-spec": 6, "requires": {}, @@ -180,6 +180,8 @@ }, "toml": { "hashes": [ + "sha256:bda89d5935c2eac546d648028b9901107a595863cb36bae0c73ac804a9b4ce88", + "sha256:926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f", "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c", "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e" ], @@ -904,6 +906,8 @@ }, "toml": { "hashes": [ + "sha256:bda89d5935c2eac546d648028b9901107a595863cb36bae0c73ac804a9b4ce88", + "sha256:926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f", "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c", "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e" ], diff --git a/docs/compatible_configs.md b/docs/compatible_configs.md index 7e83196..aa7cd96 100644 --- a/docs/compatible_configs.md +++ b/docs/compatible_configs.md @@ -6,6 +6,10 @@ linters and type checkers. Some of them need a bit of tweaking to resolve the co Listed below are _Black_ compatible configurations in various formats for the common tools out there. +**Please note** that _Black_ only supports the TOML file format for its configuration +(e.g. `pyproject.toml`). The provided examples are to only configure their corresponding +tools, using **their** supported file formats. + ## isort [isort](https://pypi.org/p/isort/) helps to sort and format imports in your Python code. -- 2.39.5