Follow these standard instructions to get your project set up for development. In a nutshell, you should:
- Fork the repository on GitHub
- Clone your fork to your local machine
- Create a new local branch off
master
using thefeature/feature-name
branch naming convention - Create a Python virtual environment and install dependencies with
pip install -r requirements.txt
Once your local repository is set up, develop away on your feature! Double-check that you've included the following:
- Tests in tests/ for any new code that you introduce
- Type hints for all input arguments and returned outputs
All pull requests must pass the following checks:
pytest
to run unit and functional Python testsmypy
to check typesflake8
to enforce the Python style guideblack
to auto-format Python code
If you want to test your code locally before submitting a pull request, you can find the exact code that runs each of these checks in our CI configuration file.
Once you've completed development, testing, docstrings, and type hinting, you're ready to submit a pull request. Create a pull request from the feature branch in your fork to master
in the main repository.
Reference any relevant issues in your PR. If your PR closes an issue, include it (e.g. "Closes #19") so the issue will be auto-closed when the PR is merged.