Steven Myint

Results 96 comments of Steven Myint

Both styles look good to me. I'll accept a pull request to add such an option. By the way, some time ago, I used to regularly test autopep8 against Jython...

As an overview, what autopep8 does, when reformatting long lines, is generate various reformatted line candidates. It then ranks them and selects the best candidate. @gwelymernans is working on an...

This is probably the `lib2to3`-based fixer, which I think is in `W690`.

I've actually looked for a reStructuredText formatter in the past. I didn't find one. But if there is one, it seems like it wouldn't be too difficult to have it...

I think I disabled this on purpose. The indentation corrections were sometimes buggy with `--line-range`. I think this may be a duplicate of https://github.com/hhatto/autopep8/issues/175#issuecomment-87096771.

For my own usage, I think that alignment is more important than fitting within 79 characters. I find badly aligned code hard to read, while code with a few characters...

I think it is a pylint problem. https://github.com/PyCQA/pylint/issues/638

The `sorted` change is due to the `lib2to3` based fixer, which is valid. But in any case, it looks like the `--range` code fails possibly due to the three-line `sort()`-related...

~~I think the first argument to `parse_args()` (`sys.argv`) would be the program name.~~ I think it needs a last argument, which is the filename. But in any case, I prefer...