]>
crepu.dev Git - config.git/blob - djavu-asus/emacs/elpa/elpy-20230803.1455/elpy/auto_pep8.py
1 """Glue for the "autopep8" library.
5 from elpy
.rpc
import Fault
11 except ImportError: # pragma: no cover
15 def fix_code(code
, directory
):
16 """Formats Python code to conform to the PEP 8 style guide.
20 raise Fault('autopep8 not installed, cannot fix code.',
25 return autopep8
.fix_code(code
, apply_config
=True)