Skip to content

update code spell yml #2

update code spell yml

update code spell yml #2

Workflow file for this run

name: codespell
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
paths:
- "**/*.py"
- "**/*.md"
- "**/*.rst"
- pyproject.toml
- requirements-lint.txt
- .github/workflows/codespell.yml
pull_request:
branches:
- main
paths:
- "**/*.py"
- "**/*.md"
- "**/*.rst"
- pyproject.toml
- requirements-lint.txt
- .github/workflows/codespell.yml
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12' # or any version you need
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-lint.txt
- name: Spelling check with codespell
env:

Check failure on line 43 in .github/workflows/codespell.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codespell.yml

Invalid workflow file

You have an error in your yaml syntax on line 43
# Put all your --skip arguments in a single variable
CODESPELL_EXCLUDES: >
--skip "data/**"
--skip "fastvideo/distill.py"
--skip "fastvideo/models/hunyuan/modules/models.py"
--skip "fastvideo/models/mochi_hf/modeling_mochi.py"
--skip "fastvideo/utils/env_utils.py"
run: |
# Refer to the above environment variable here
codespell --toml pyproject.toml $CODESPELL_EXCLUDES