Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump crate-ci/typos from 1.14.12 to 1.15.5 #26

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/HOHQMesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#

Expand Down
10 changes: 5 additions & 5 deletions src/Misc/NotificationCenter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/test_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down