Development guide¶
Here’s how to set up kafka-aggregator
for local development.
Clone the kafka-aggregator repo from GitHub:
$ git clone https://github.com/lsst-sqre/kafka-aggregator.git
Install your local copy into a virtualenv:
$ cd kafka-aggregator
$ virtualenv -p Python3 venv
$ source venv/bin/activate
$ make update
Create a branch for local development:
$ git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
4. When you’re done making changes, check that your changes pass the lint checks, typing checks, and tests.
$ tox -e lint typing py37
Commit your changes and push your branch to GitHub:
$ git add .
$ git commit -m "Your detailed description of your changes."
$ git push origin name-of-your-bugfix-or-feature
Submit a pull request through the GitHub website.
Pull Request Guidelines¶
Before you submit a pull request, check that it meets these guidelines:
The pull request should include tests.
If the pull request adds functionality, the docs should be updated.
The pull request should work for Python 3.