summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoranirudnits <aniruddha97bhatt@gmail.com>2020-12-23 18:41:47 +0530
committeranirudnits <aniruddha97bhatt@gmail.com>2020-12-23 18:41:47 +0530
commit805323439dfd9e208e42c5690e88528f0da547b0 (patch)
treeb727738788a948587323d5c6674b671fc224f4ac /docs
parent1e6db95820f4341712fb7fd9e993597543480a0b (diff)
downloadisort-805323439dfd9e208e42c5690e88528f0da547b0.tar.gz
Specify the config file example corresponds to pyproject.toml
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/black_compatibility.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/configuration/black_compatibility.md b/docs/configuration/black_compatibility.md
index c81989a9..a5775425 100644
--- a/docs/configuration/black_compatibility.md
+++ b/docs/configuration/black_compatibility.md
@@ -11,6 +11,8 @@ All that's required to use isort alongside black is to set the isort profile to
For projects that officially use both isort and black, we recommend setting the black profile in a config file at the root of your project's repository.
This way independent to how users call isort (pre-commit, CLI, or editor integration) the black profile will automatically be applied.
+For instance, your _pyproject.toml_ file would look something like
+
```ini
[tool.isort]
profile = "black"