Skip to content

Commit 887a606

Browse files
committed
style(repo): format repository and resolve duplicate YAML keys
- Fix duplicate YAML keys in base_xl.yml, base21.yml, and ltx2_video.yml - Auto-format utils/update_dependency_table.py with pyink - Fix trailing whitespace and missing EOF newlines across repository files
1 parent 921e9d7 commit 887a606

49 files changed

Lines changed: 140 additions & 153 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/CPUTests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,3 @@ jobs:
4646
- name: Analysing the code with pyink in end_to_end/
4747
run: |
4848
pyink end_to_end --check --diff --color --pyink-indentation=2 --line-length=125
49-
50-

.github/workflows/UploadDockerImages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
schedule:
2222
# Run the job daily at 12AM UTC
2323
- cron: '0 0 * * *'
24-
24+
2525
workflow_dispatch:
2626

2727
jobs:

.github/workflows/XLML.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
-H "Authorization: token $GITHUB_TOKEN" \
2020
-H "Accept: application/vnd.github.v3+json" \
2121
"https://api.github.com/repos/${{ github.repository }}/issues/$PR_NUMBER/comments" \
22-
-d '{ "body": "e2e testgrid: https://8bcf50593faf4ea38060e236169827e5-dot-us-central1.composer.googleusercontent.com/dags/maxdiffusion_tpu_e2e/grid" }'
22+
-d '{ "body": "e2e testgrid: https://8bcf50593faf4ea38060e236169827e5-dot-us-central1.composer.googleusercontent.com/dags/maxdiffusion_tpu_e2e/grid" }'

.github/workflows/gemini-dispatch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defaults:
2020
jobs:
2121
debugger:
2222
# Debug mode: with a repository variable called DEBUG to true
23-
if: |-
23+
if: |-
2424
${{ fromJSON(vars.DEBUG || vars.ACTIONS_STEP_DEBUG || false) }}
2525
runs-on: 'ubuntu-latest'
2626
permissions:
@@ -35,7 +35,7 @@ jobs:
3535
DEBUG_event__pull_request__author_association: '${{ github.event.pull_request.author_association }}'
3636
DEBUG_event__review__author_association: '${{ github.event.review.author_association }}'
3737
DEBUG_event: '${{ toJSON(github.event) }}'
38-
run: |-
38+
run: |-
3939
env | grep '^DEBUG_'
4040
4141
dispatch:

.github/workflows/gemini-invoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
permission-pull-requests: 'write'
4040

4141
- name: 'Run Gemini CLI'
42-
# Trigger Gemini with context
42+
# Trigger Gemini with context
4343
id: 'run_gemini'
4444
uses: 'google-github-actions/run-gemini-cli@main'
4545
env:

.github/workflows/gemini-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
'{repository: $repo, pull_request_number: $pr, additional_context: $context}' > .gemini/context.json
5959
6060
- name: 'Run Gemini pull request review'
61-
# reviews code with detailed set of instructions for the Gemini
61+
# reviews code with detailed set of instructions for the Gemini
6262
uses: 'google-github-actions/run-gemini-cli@main'
6363
id: 'gemini_pr_review'
6464
env:
@@ -69,7 +69,7 @@ jobs:
6969
PULL_REQUEST_NUMBER: '${{ github.event.pull_request.number || github.event.issue.number }}'
7070
REPOSITORY: '${{ github.repository }}'
7171
ADDITIONAL_CONTEXT: '${{ inputs.additional_context }}'
72-
with:
72+
with:
7373
gcp_location: '${{ vars.GOOGLE_CLOUD_LOCATION }}'
7474
gcp_project_id: '${{ vars.GOOGLE_CLOUD_PROJECT }}'
7575
gcp_service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'

.github/workflows/utils/setup_runner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Heavily influenced by
1818
# https://github.com/openxla/iree/tree/main/build_tools/github_actions/runner/config
1919

20-
# This file sets up a tpu vm to be used as a github runner for testing.
20+
# This file sets up a tpu vm to be used as a github runner for testing.
2121
# It creates a user runner without sudo permissions to
2222
# run the config file and authenticate to github
2323

_typos.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ parms="parms" # parms is used in scripts/convert_original_stable_diffusion_to_di
1010

1111

1212
[files]
13-
extend-exclude = ["_typos.toml"]
13+
extend-exclude = ["_typos.toml"]

dependencies/requirements/base_requirements/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,3 @@ transformers<5.0.0
4444
torch @ https://download.pytorch.org/whl/cpu/torch-2.10.0%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl
4545
torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.25.0%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl
4646
qwix @ https://github.com/google/qwix/archive/408a0f48f988b6c5b180e07f0cb1d05997bf0dcc.zip
47-

dependencies/requirements/generated_requirements/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,4 @@ xprof>=2.22.0
201201
xxhash>=3.6.0
202202
yarl>=1.23.0
203203
zipp>=3.23.0
204-
zstandard>=0.25.0
204+
zstandard>=0.25.0

0 commit comments

Comments
 (0)