This is a basic template repository for creating a plugin for the RotorHazard timing platform. It is intended to be used as a starting point for creating a new plugin.
Warning
If you apply this plugin template to an existing RotorHazard plugin that uses GitHub releases, please note that the community store is only compatible with published releases that also pass the RHFest checks.
- Pre-commit checks: to run checks and tests on each commit.
- Python virtual environment: uses uv to manage the python virtual environment and dependencies.
- RHFest validation: GitHub action to validate the plugin manifest file against the RHFest schema.
- Renovate: uses Renovate to keep dependencies up to date.
How to setup the development environment.
You need the following tools to get started:
- Clone the repository
- Install all dependencies with UV. This will create a virtual environment and install all dependencies
uv sync
- Setup the pre-commit check, you must run this inside the virtual environment
uv run pre-commit install
As this repository uses the pre-commit framework, all changes are linted and tested with each commit. You can run all checks and tests manually, using the following command:
uv run pre-commit run --all-files
To manual run only on the staged files, use the following command:
uv run pre-commit run
Distributed under the MIT License. See LICENSE
for more information.