The ultimate Prismalia formatter for Python.
Follow these steps to install and use the Prismalia formatter.
- Clone this repo
- Run
make install
To integrate the formatter with VSCode:
- Install the black extension
- Go into Settings (<C-,>) and search for black
- Under
Python > Formatting: Black Path
put/home/yann/.local/bin/pformat
. Replace yann with your name.
[Complete this section.]
As a personal preference, I like to bind the formatter to <C-c> f
. This
particular binding is optional but having one is not! To go faster, make sure
to have this functionality a couple of key strokes away.
This is a collaborative effort to improve the code quality of our Python scripts. As a result, your help and contribution is welcome. Before merging your branch, document all your changes and make sure the tests are green. Happy coding!
- Ignore move_imports when encountering #FMT: off