From 5e94460608b824d788011729bb78874174dcd930 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Tue, 23 Sep 2025 07:48:39 +1200 Subject: [PATCH] [CI] Format files after sync (#10828) --- .github/workflows/sync-device-classes.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/sync-device-classes.yml b/.github/workflows/sync-device-classes.yml index b129e8f4b..c14071ea6 100644 --- a/.github/workflows/sync-device-classes.yml +++ b/.github/workflows/sync-device-classes.yml @@ -30,11 +30,16 @@ jobs: run: | python -m pip install --upgrade pip pip install -e lib/home-assistant + pip install -r requirements_test.txt pre-commit - name: Sync run: | python ./script/sync-device_class.py + - name: Run pre-commit hooks + run: | + python script/run-in-env.py pre-commit run --all-files + - name: Commit changes uses: peter-evans/create-pull-request@v7.0.8 with: