YAPF plugin for Jetbrains IDEs.
- You should install YAPF before using this plugin.
- You should know the path of YAPF executable.
- Find
YAPFinPreferences>Plugins> `Browse Repositories' on your Jetbrains IDE. - Install it!
You can set following settings in Preferences > YAPF.
- Format on save
- YAPF executable path (default:
/usr/local/bin/yapf) - YAPF style file name (default:
.style.yapf)
Note that this plugin passes style file to YAPF in the following order:
PROJECT_ROOT/[style_file_name]VERSION_CONTROL_SYSTEM_ROOT/[style_file_name]PROJECT_ROOT/.style.yapfVERSION_CONTROL_SYSTEM_ROOT/.style.yapf- No style option
- Write unit tests
This project is licensed under the MIT License.