Add Black instructions to README.md

pull/357/head
nyanpasu64 2019-01-03 18:36:23 -08:00 zatwierdzone przez GitHub
rodzic 12710a0ee8
commit a5bfe337dc
1 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -68,3 +68,16 @@ python -m corrscope (args)
1. Render and encode MP4 video (requires ffmpeg)
- `corrscope master.yaml -r/--render`
## Contributing
Issues, feature requests, and pull requests are accepted.
This project uses [Black code formatting](https://github.com/ambv/black). Either pull request authors can reformat code before creating a PR, or maintainers can reformat code before merging.
You can install a Git pre-commit hook to apply Black formatting before each commit. Open a terminal/cmd in this repository and run:
```sh
pip install --user pre-commit
pre-commit install
```