Added Contributing section to README

This commit is contained in:
Ivan Golikov 2022-06-12 15:44:27 +03:00
parent c28c307670
commit faa6bd8beb

View file

@ -7,3 +7,18 @@ This service tries to be as anonymous as possible. The only personal information
on a server will be IP address of the client that made request to the server.
Service is built with Python, FastAPI and is using Redis for data storage.
## Contributing
Codestyle is enforced with Black, and additional checks are done with the help of pre-commit-hooks,
Flake8 and isort. Prior to making any commits, install `pre-commit` tool and install hooks:
```
# Alternatively, you could use 'pip install ".[development]"'
$ pip install pre-commit==2.19.0
$ pre-commit install
```
This way you will always be sure that new code follows project guidelines.
This project is using trunk-based branching strategy with the `main` as trunk branch.