From 96ffe89cbfaad59ad3772d6aad5633e0afc2d356 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Jun 2023 10:01:40 +0000 Subject: [PATCH 1/3] Bump crate-ci/typos from 1.14.12 to 1.15.5 Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.14.12 to 1.15.5. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.14.12...v1.15.5) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/SpellCheck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml index c4ab3a98..e5e586ad 100644 --- a/.github/workflows/SpellCheck.yml +++ b/.github/workflows/SpellCheck.yml @@ -10,4 +10,4 @@ jobs: - name: Checkout Actions Repository uses: actions/checkout@v3 - name: Check spelling - uses: crate-ci/typos@v1.14.12 + uses: crate-ci/typos@v1.15.5 From 5a2a4aac4427d40672174ef66e3a35e3216155ee Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Mon, 26 Jun 2023 12:17:32 +0200 Subject: [PATCH 2/3] fix typos --- src/HOHQMesh.jl | 2 +- test/runtests.jl | 2 +- test/test_model.jl | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/HOHQMesh.jl b/src/HOHQMesh.jl index 842648b3..312d4421 100644 --- a/src/HOHQMesh.jl +++ b/src/HOHQMesh.jl @@ -24,7 +24,7 @@ end # # Include interactive mesh functionality for creating, reading, and writing a model for HOHQMesh. -# Note, The visualzation routines are included above in the `__init__` because +# Note, The visualization routines are included above in the `__init__` because # Makie is required. # diff --git a/test/runtests.jl b/test/runtests.jl index 70ff58a8..1ce4278f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -68,7 +68,7 @@ include("test_interactive_project.jl") # Interactive mesh scripts available in examples folder include("test_examples.jl") -# Interactive mesh project + visualzation test routines +# Interactive mesh project + visualization test routines include("test_project_with_viz.jl") # Refinement test routines diff --git a/test/test_model.jl b/test/test_model.jl index 7fa92f71..d1792ff9 100644 --- a/test/test_model.jl +++ b/test/test_model.jl @@ -68,7 +68,7 @@ using Test @test length(obList) == 2 - # Check the outer boundary curve that are not conneted. Throws a warning + # Check the outer boundary curve that are not connected. Throws a warning @test_logs (:warn, "The boundary curve Outer is not closed. Fix to generate mesh" ) HOHQMesh.modelCurvesAreOK(p) @test HOHQMesh.modelCurvesAreOK(p) == false @@ -114,7 +114,7 @@ using Test removeInnerBoundaryCurve!(p,"obc2",ib1Name) @test length(ibList) == 2 - # Check the inner boundary curve that are not conneted. Throws a warning + # Check the inner boundary curve that are not connected. Throws a warning @test_logs (:warn, "The curve obc3 does not meet the previous curve, obc1.") HOHQMesh.modelCurvesAreOK(p) @test HOHQMesh.modelCurvesAreOK(p) == false From d96bf86612ed23a53371fa3ed4b29acc8f39a6ad Mon Sep 17 00:00:00 2001 From: Andrew Winters Date: Mon, 26 Jun 2023 20:04:09 +0200 Subject: [PATCH 3/3] Update NotificationCenter.jl Change variable name from `fnction` to `f` --- src/Misc/NotificationCenter.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Misc/NotificationCenter.jl b/src/Misc/NotificationCenter.jl index 86a5b884..4c048dc0 100644 --- a/src/Misc/NotificationCenter.jl +++ b/src/Misc/NotificationCenter.jl @@ -14,17 +14,17 @@ HQMNotificationsON = true """ - addObserver(observer::Any, note::String, fnction::Any) + addObserver(observer::Any, note::String, f::Any) -fnction is the function to be executed (called) when a +`f` is the function to be executed (called) when a notification of name `note` is given. The function called upon notification must have the signature -fnction(observer, sender, args...) +f(observer, sender, args...) """ -function addObserver(observer::Any, note::String, fnction::Any) +function addObserver(observer::Any, note::String, f::Any) - noteObj = HQMNotificationObject(observer,fnction) + noteObj = HQMNotificationObject(observer,f) if !haskey(HQMNotificationCenter,note) HQMNotificationCenter[note] = HQMNotificationObject[] end