Add black to readme

This commit is contained in:
Max Meinhold 2020-12-28 14:57:19 -05:00
parent bb6e4696d0
commit 3e1608aca1
No known key found for this signature in database
GPG key ID: 00B8B1017EEC103F

View file

@ -19,7 +19,7 @@ It is available to house members at [proxstar.csh.rit.edu](https://proxstar.csh.
- Optionally create a new [git branch](https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell) if your change is more than a small tweak (`git checkout -b BRANCH-NAME-HERE`)
3. Make your changes locally, commit, and push to your fork
- If you want to test locally, you should copy `config.py` to `config_local.py`, and talk to an RTP about filling in secrets.
- Lint your local changes with `pylint proxstar`
- Lint and your local changes with `pylint proxstar` and `black proxstar`
- You'll need dependencies installed locally to do this. You should do that in a [venv](https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments) of some sort to keep your system clean. All the dependencies are listed in [requirements.txt](./requirements.txt), so you can install everything with `pip install -r requirements.txt`. You'll need python 3.6 at minimum, though things should work up to python 3.8.
4. Create a [Pull Request](https://help.github.com/en/articles/about-pull-requests) on this repo for our Webmasters to review