X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/45c98cf150674dd49cb51d57f8baede4c287f043..11f130b7deb74f424ebf57ef551953c9bc08393f:/docs/compatible_configs.md diff --git a/docs/compatible_configs.md b/docs/compatible_configs.md index e826743..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. @@ -25,7 +29,7 @@ line_length = 88 ### Why those options above? _Black_ wraps imports that surpass `line-length` by moving identifiers into their own -indented line. If that still doesn't fit the bill, it will put all of them in seperate +indented line. If that still doesn't fit the bill, it will put all of them in separate lines and put a trailing comma. A more detailed explanation of this behaviour can be [found here](https://github.com/psf/black#how-black-wraps-lines).