Atom.io plugin to format for Python files using Google's YAPF
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keymaps adding support for MagicPython Nov 22, 2015
lib
menus
.gitignore
.npmignore
CHANGELOG.md update changelog May 12, 2017
LICENSE
README.md
example_formatting.gif
package.json
settings.png

README.md

atom-python-yapf

License Version Downloads

Atom.io plugin to format Python files using Google's YAPF

Screenshot

Install

Atom Package: https://atom.io/packages/python-yapf

apm install python-yapf

Or Settings/Preferences ➔ Packages ➔ Search for python-yapf

Make sure you have YAPF installed and the correct path to binary was set in the package config.

Documentation

Settings

settings

Keymap

Currently, there are two commands:

  • python-yapf:formatCode - for formatting python code
  • python-yapf:checkCode - for checking format of python code

Issues

Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue

Credits

Heavily influenced by Benjamin Hedrich's atom-python-isort.

CHANGELOG

See CHANGELOG.md

Contributing

See all contributors on GitHub.

Please update the CHANGELOG.md, add yourself as a contributor to the package.json, and submit a Pull Request on GitHub.

License

MIT Copyright (c) 2014-2016 blacktop