py-autopep8.el ignores custom options specified in py-autopep8-options. It's an issue with the way the autopep8 program runs, all options need to be specified before passing it a file. So autopep8 --select E301 --in-place file.py works, but autopep8 --in-place file.py --select E301 doesn't.
This patch appends custompy-autopep8-options options before file arguments so that they don't get ignored.
Also, I got rid of minor flycheck formatting warnings for packages.
py-autopep8.el
ignores custom options specified inpy-autopep8-options
. It's an issue with the way theautopep8
program runs, all options need to be specified before passing it a file. Soautopep8 --select E301 --in-place file.py
works, butautopep8 --in-place file.py --select E301
doesn't.This patch appends custom
py-autopep8-options
options before file arguments so that they don't get ignored.Also, I got rid of minor
flycheck
formatting warnings for packages.