We appreciate any contribution to the Intel® Geti™ SDK, whether it's in the form of a Pull Request, Feature Request or general comment/issue that you found. For feature requests and issues, please feel free to create a GitHub Issue in this repository.
To set up your development environment, please follow the steps below:
-
Fork the repo.
-
Install the requirements for running the test suite using
pip install -r requirements/requirements-dev.txt
. -
Create your branch based off the
main
branch. -
Make sure that
git lfs
is configured for your Git account, by following the steps here. Git LFS (Large File Storage) is used in this repo to manage certain data files used in the tests. -
Run
git lfs pull
to download the test data. -
Verify that the integration tests now run locally by executing
pytest tests/integration
-
Set up the pre-commit hooks in the repo by running
pre-commit install
. Several pre-commit hooks are used in the repo, to perform static code scans like linting (flake8
), import sorting (isort
) and code formatting (black
). The pre-commit install command sets up all of these hooks so that the checks will be performed on each commit you make.
You should now be ready to make changes, run the SDK integration tests and create a Pull Request!
More details about the tests can be found in the readme for the test suite. If your changes require updating the tests or the test data, please refer to that document.