mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
Add instructions on how to run black in the contributing guide
This commit is contained in:
parent
1730560d20
commit
94e83306c3
1 changed files with 10 additions and 1 deletions
|
@ -97,7 +97,16 @@ a pull request as it will help us to maintain the code clean and running.
|
|||
|
||||
To do so::
|
||||
|
||||
$ make test
|
||||
make test
|
||||
|
||||
We are using the `black <https://black.readthedocs.io/en/stable/>`_ formatter
|
||||
for all the python files in this project. Be sure to run it locally on your
|
||||
files. To do so, just run::
|
||||
|
||||
black ihatemoney
|
||||
|
||||
You can also integrate it with your dev environment (as a *format-on-save*
|
||||
hook, for instance).
|
||||
|
||||
As a designer / Front-end developer
|
||||
-----------------------------------
|
||||
|
|
Loading…
Reference in a new issue