wistful / SublimeAutoPEP8

Automatically formats Python code to conform to the PEP 8 style guide using autopep8 and pep8 modules
144 stars 23 forks source link

Max line length setting is ignored #55

Closed MHLut closed 6 years ago

MHLut commented 6 years ago

I'm using a custom max line length of 119 to format my code. As of a recent update (I cannot with certainty tell you when this happened, but I think it worked fine earlier this week), it appears that this setting is being ignored.

When I use the autoformatter, the formatting is done as if the value of "max-line-length" is 79, which is the default value for this setting.

Is this an issue that other people have as well?

Specs:

{
    "max-line-length": 119
}
MHLut commented 6 years ago

Addendum: This bug is also present in a stable version of ST3 (build 3143).

wtgee commented 6 years ago

Confirm this is the same on linux distribution with recent package version. This worked previously, maybe early December (sorry, don't have a version number) but I think has not been working for a number of weeks.

wistful commented 6 years ago

Fixed in 2.1.0.