Contributions are welcome! Here are some pointers to help you install the library for development and validate your changes before submitting a pull request.
We recommend installing the module in editable mode with the dev
extra requirements:
git clone https://github.com/guillaumekln/faster-whisper.git
cd faster-whisper/
pip install -e .[dev]
- Make sure the existing tests are still passing (and consider adding new tests as well!):
pytest tests/
- Reformat and validate the code with the following tools:
black .
isort .
flake8 .
These steps are also run automatically in the CI when you open the pull request.