Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of wrap_length raises an exception about it not being lower or equal to line_length #1333

Closed
rtasarz opened this issue Jul 19, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@rtasarz
Copy link

rtasarz commented Jul 19, 2020

Given both line_length and wrap_length are provided in config file and set to the same value (100 in my case), following exception is thrown when import line that needs wrapping is encountered:
ValueError: wrap_length must be set lower than or equal to line_length: 100 > 92.

timothycrosley added a commit that referenced this issue Jul 20, 2020
Issue #1333: wrap_length corrected for indentation in unison with line_length
@timothycrosley timothycrosley added the bug Something isn't working label Jul 20, 2020
@timothycrosley
Copy link
Member

Thanks for reporting and providing a fix for this issue! The fix has been deployed in the 5.1.4 patch release.

~Timothy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants