Skip to content

Commit

Permalink
Remove redundant multi_line_output = 3 from "Compatibility with black"
Browse files Browse the repository at this point in the history
According to the profiles documentation:
https://pycqa.github.io/isort/docs/configuration/profiles.html

The black profiles contains: "multi_line_output = 3". Avoid confusion on
the "Compatibility with black" page by not adding a redundant option.
The reader may believe the extra "multi_line_output" is required.

This came up in a real world scenario:
pypa/pyproject-hooks#137 (comment)
  • Loading branch information
jdufresne committed Nov 25, 2021
1 parent 3ddd965 commit 8924a65
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/configuration/black_compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ For instance, your _pyproject.toml_ file would look something like
```ini
[tool.isort]
profile = "black"
multi_line_output = 3
```

Read More about supported [config files](https://pycqa.github.io/isort/docs/configuration/config_files.html).
Expand Down Expand Up @@ -64,4 +63,3 @@ You can also set the profile directly when integrating isort within pre-commit.
- id: isort
args: ["--profile", "black", "--filter-files"]
```

0 comments on commit 8924a65

Please sign in to comment.