Add AudioSamples(mono_downmix=True) to handle mixed single/multi channel batches gracefully
#2207
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: isort | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| isort: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ 3.12 ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install isort | |
| run: | | |
| python -m pip install --upgrade pip isort==5.10.1 | |
| - name: Check that imports are sorted | |
| run: | | |
| isort --check --diff lhotse | |
| isort --check --diff test |