Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.6 KB

CONTRIBUTING.md

File metadata and controls

61 lines (40 loc) · 1.6 KB

Contributing

When contributing to this repository, please refer to the following.

Suggested Guidelines

  1. When opening a pull request (PR), the title should be clear and concise in describing the changes. The PR description can include a more descriptive log of the changes.
  2. If the pull request (PR) is linked to a specific issue, the PR should be linked to the issue. You can use the Closing Keywords in the PR description to automatically link the issue. Merging a PR will close the linked issue.
  3. This repository follows the Google Python Style Guide for code formatting.
  4. If you are working on improving the speed of dot, please read first our guide on code profiling.

Setup Dev-Tools

  1. Install Dev Requirements
pip install -r requirements-dev.txt
  1. Install Pre-Commit Hooks
pre-commit install

CI/CD

Run Unit Tests (with coverage):

pytest --cov=src --cov-report=term-missing:skip-covered --cov-fail-under=10

Lock Base and Dev Requirements (pre-requisite: pip install pip-tools==6.8.0):

pip-compile setup.cfg
pip-compile --extra=dev --output-file=requirements-dev.txt --strip-extras setup.cfg

Semantic Versioning

This repository follows the Semantic Versioning standard.

Bump a major release:

bumpversion major

Bump a minor release:

bumpversion minor

Bump a patch release:

bumpversion patch