diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 337085f..4128867 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,17 +52,10 @@ jobs: - name: Update pip run: python -m pip install --upgrade pip - - name: Lint with flake8, black and isort + - name: Check styling with pre-commit run: | - pip install -e .[dev] - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - black . --check --config pyproject.toml - isort -c . - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=120 --statistics - - - name: Install Numpy - run: > - pip install numpy + pre-commit install + pre-commit run --all-files - name: Install PyTorch on Linux and Windows if: > @@ -75,6 +68,7 @@ jobs: - name: Install PyTorch on MacOS if: matrix.operating-system == 'macos-latest' run: pip install torch==${{ matrix.torch-version }} + - name: Install PyTorch on Linux and Windows - name: Install whisperplus package from local setup.py run: >