Skip to content

Remove redundant multi_line_output = 3 from "Compatibility with black"#1858

Merged
timothycrosley merged 1 commit intoPyCQA:mainfrom
jdufresne:black-profile
Nov 26, 2021
Merged

Remove redundant multi_line_output = 3 from "Compatibility with black"#1858
timothycrosley merged 1 commit intoPyCQA:mainfrom
jdufresne:black-profile

Conversation

@jdufresne
Copy link
Copy Markdown
Collaborator

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)

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)
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 25, 2021

Codecov Report

Merging #1858 (8924a65) into main (3ddd965) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1858   +/-   ##
=======================================
  Coverage   99.83%   99.83%           
=======================================
  Files          38       38           
  Lines        3046     3046           
  Branches      725      725           
=======================================
  Hits         3041     3041           
  Misses          1        1           
  Partials        4        4           

@timothycrosley
Copy link
Copy Markdown
Member

Thanks for fixing this! I could see how that could be confusing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants