1 parent ca5a23b commit 2d1c580Copy full SHA for 2d1c580
1 file changed
README.md
@@ -192,3 +192,15 @@ For running test do:
192
pip install pytest pytest-cov coveralls
193
pytest --cov-report html --cov=mergin mergin/test/
194
```
195
+
196
+### Code style
197
198
+Code is formatted with [black](https://github.com/psf/black) (line length 120), enforced in CI.
199
+To run the same check automatically before each commit, install the [pre-commit](https://pre-commit.com/) hooks once:
200
201
+```bash
202
+ pip install pre-commit
203
+ pre-commit install
204
+```
205
206
+The hook then runs on every `git commit`.
0 commit comments