Open DamnedScholar opened 7 years ago
I think that should be max_line_length
per argparse
's normalization.
That ran successfully, thanks.
The other side of this issue is that the options for fix_code()
should be listed in the README, so I'm leaving this open until they are. I had the thought to make the change myself, but they're not available from the source or docstring of fix_code()
, either.
The documentation lists options for the CLI side of
autopep8
, but not for using it as a module. It's logical therefore to assume that all CLI options that make sense as module options would also be module options, but that does not seem to be the case.My code:
The result:
If the options for
fix_code()
are divergent from the CLI, that should be noted in the documentation.