From 6e45f750eaddb975ad9fbe12bf7ae790d1eba16e Mon Sep 17 00:00:00 2001 From: kratman Date: Wed, 10 Jan 2024 07:45:58 -0500 Subject: [PATCH 1/2] Run pre-commit on all files --- .github/workflows/run_periodic_tests.yml | 3 +-- .github/workflows/test_on_push.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_periodic_tests.yml b/.github/workflows/run_periodic_tests.yml index cc09203ef3..710be1b7aa 100644 --- a/.github/workflows/run_periodic_tests.yml +++ b/.github/workflows/run_periodic_tests.yml @@ -36,8 +36,7 @@ jobs: - name: Check style run: | python -m pip install pre-commit - git add . - pre-commit run ruff + pre-commit run --all build: needs: style diff --git a/.github/workflows/test_on_push.yml b/.github/workflows/test_on_push.yml index 7297f48fad..d257af472b 100644 --- a/.github/workflows/test_on_push.yml +++ b/.github/workflows/test_on_push.yml @@ -28,8 +28,7 @@ jobs: - name: Check style run: | python -m pip install pre-commit - git add . - pre-commit run ruff + pre-commit run --all run_unit_tests: needs: style From e7fde772b14ad57b845e3e8df9182958b85db440 Mon Sep 17 00:00:00 2001 From: "Eric G. Kratz" Date: Wed, 10 Jan 2024 09:16:21 -0500 Subject: [PATCH 2/2] Apply suggestions from code review --- .github/workflows/run_periodic_tests.yml | 2 +- .github/workflows/test_on_push.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_periodic_tests.yml b/.github/workflows/run_periodic_tests.yml index 710be1b7aa..0fdf5d1ecc 100644 --- a/.github/workflows/run_periodic_tests.yml +++ b/.github/workflows/run_periodic_tests.yml @@ -36,7 +36,7 @@ jobs: - name: Check style run: | python -m pip install pre-commit - pre-commit run --all + pre-commit run -a build: needs: style diff --git a/.github/workflows/test_on_push.yml b/.github/workflows/test_on_push.yml index d257af472b..d1f448c110 100644 --- a/.github/workflows/test_on_push.yml +++ b/.github/workflows/test_on_push.yml @@ -28,7 +28,7 @@ jobs: - name: Check style run: | python -m pip install pre-commit - pre-commit run --all + pre-commit run -a run_unit_tests: needs: style