Skip to content

Commit

Permalink
update code spell yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rlsu9 committed Dec 31, 2024
1 parent 0981180 commit 1d1671d
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,26 @@ jobs:
codespell:
runs-on: ubuntu-latest
steps:
- name: Check out repository
- 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:
# 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"
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12' # or any version you need
- name: Install dependencies
run: |
# Refer to the above environment variable here
codespell --toml pyproject.toml $CODESPELL_EXCLUDES
python -m pip install --upgrade pip
pip install -r requirements-lint.txt
- name: Spelling check with codespell
env:
# 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

0 comments on commit 1d1671d

Please sign in to comment.