Atom.io plugin to format Python files using Google's YAPF
Atom Package: https://atom.io/packages/python-yapf
apm install python-yapf
Or Settings/Preferences ➔ Packages ➔ Search for
Make sure you have
YAPFinstalled and the correct path to binary was set in the package config.
Currently, there are two commands:
python-yapf:formatCode- for formatting python code
python-yapf:checkCode- for checking format of python code
Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue
Heavily influenced by Benjamin Hedrich's atom-python-isort.
MIT Copyright (c) 2014-2016 blacktop