Andy Hayden

Results 105 comments of Andy Hayden

"Amazon Linux 1" is the os.

No commits since last April, no activity on any PRs or issues since then (?) either.

@tpltnt My recollection is that the remaining changes needed are updates to opencv3...

When you are writing a book, you have multiple chapters. If you do this in a single markdown file after a chapter or so the rendering panel is usually completely...

I put it up as a [gist](https://gist.githubusercontent.com/hayd/2d4a22e1854683c9c72d/raw/1641824237cba91fa6b6232786f77b7a98a93c6c/inspect.py). So you can test with: ``` from autopep8 import fix_code, parse_args import requests code = requests.get("https://gist.githubusercontent.com/hayd/2d4a22e1854683c9c72d/raw/1641824237cba91fa6b6232786f77b7a98a93c6c/inspect.py").text args = parse_args(['']) # I'm not sure...

Should things like the following reduce the number of lines? ``` autopep8.fix_code(""" A = [1, 2, 3, 4]""") ``` I struggle to find examples where the lines are reduced. I'm...

Excellent! Thanks for the example, will check it out! (Hmmm weirdly I can't reproduce this!!) RE the line numbers if you have something like: ``` if False: pass a =...

Just running verbose I see it has an E112 (comment is not indented correctly)... but there are no comments!! I don't see how but it looks like fix_e112 removes the...

@myint do you know what function/where this sorted replacement is happening? An alternative soln, which would fix this particular case, would be to replace it with a blank: ``` ['',...