We use uv to manage Inseq dependencies.
If you dont have uv, you should install with make uv-download.
To install dependencies and prepare pre-commit hooks you would need to run install command:
make install
or
make install-devTo activate your virtualenv run make uv-activate.
After installation you may execute code formatting.
make lintMany checks are configured for this project. Command make check-style will check style with ruff.
The make check-safety command will look at the security of your code.
Comand make lint applies all checks.
Before submitting your code please do the following steps:
- Add any changes you want
- Add tests for the new changes
- Edit documentation if you have changed something significant
- Run
make fix-styleto format your changes. - Run
make lintto ensure that types and security are okay.
You can contribute by spreading a word about this library. It would also be a huge contribution to write a short article on how you are using this project. You can also share your best practices with us.