From 8140a3dcf29aff2be3916363902a8725208080be Mon Sep 17 00:00:00 2001 From: Ludovico Bianchi Date: Thu, 5 Sep 2024 14:08:16 -0500 Subject: [PATCH] Pin typos version to latest currently available tag v1.24.5 (#1486) * Pin typos version to latest currently available tag v1.24.5 * Address typos failures * Add @bpaul4 as a code owner for typos.toml --- .github/CODEOWNERS | 2 ++ .github/workflows/core.yml | 2 +- .github/workflows/typos.toml | 2 ++ idaes/core/initialization/tests/test_initializer_base.py | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5b759dd125..64df5fac28 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -9,6 +9,8 @@ requirements*.txt @lbianchi-lbl @ksbeattie # CI infra .github/ @lbianchi-lbl @ksbeattie +# spellchecker configuration +.github/workflows/typos.toml @bpaul4 @lbianchi-lbl # testing pytest*.ini @lbianchi-lbl diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 8828991ea6..8c8313088e 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -76,7 +76,7 @@ jobs: - name: Checkout source uses: actions/checkout@v4 - name: Run Spell Checker - uses: crate-ci/typos@master + uses: crate-ci/typos@v1.24.5 with: config: ./.github/workflows/typos.toml diff --git a/.github/workflows/typos.toml b/.github/workflows/typos.toml index 9fb50b7e97..4d8b55334e 100644 --- a/.github/workflows/typos.toml +++ b/.github/workflows/typos.toml @@ -42,6 +42,8 @@ mis = "mis" MIS = "MIS" # TEMPORARY - Remove after example update upadate = "upadate" +# docs/how_to_guides/data_management_framework/index.rst:14:8 +workpace = "workpace" # false positive from 1.20.3 RTO = "RTO" diff --git a/idaes/core/initialization/tests/test_initializer_base.py b/idaes/core/initialization/tests/test_initializer_base.py index 50883a78c1..5ff55ad731 100644 --- a/idaes/core/initialization/tests/test_initializer_base.py +++ b/idaes/core/initialization/tests/test_initializer_base.py @@ -782,7 +782,7 @@ def test_get_submodel_initializer_process_base_default(self): ) @pytest.mark.unit - def test_get_submodel_initializer_priorit(self): + def test_get_submodel_initializer_priority(self): # Progressively add higher priority initializers and ensure they are returned class DummyParam: def __init__(self):