Skip to content

Commit

Permalink
add spellcheck CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen committed Nov 28, 2023
1 parent 8e8dad8 commit c2c4ded
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 4 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Spell Check

on: [pull_request]

jobs:
typos-check:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Check spelling
uses: crate-ci/[email protected]
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[default.extend-words]
SER = "SER"
2 changes: 1 addition & 1 deletion src/broyden.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
GeneralBroyden(; max_resets = 3, linesearch = nothing, reset_tolerance = nothing)
An implementation of `Broyden` with reseting and line search.
An implementation of `Broyden` with resetting and line search.
## Arguments
Expand Down
2 changes: 1 addition & 1 deletion src/lbroyden.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
LimitedMemoryBroyden(; max_resets::Int = 3, linesearch = nothing,
threshold::Int = 10, reset_tolerance = nothing)
An implementation of `LimitedMemoryBroyden` with reseting and line search.
An implementation of `LimitedMemoryBroyden` with resetting and line search.
## Arguments
Expand Down
2 changes: 1 addition & 1 deletion src/linesearch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
LineSearch(method = nothing, autodiff = nothing, alpha = true)
Wrapper over algorithms from
[LineSeaches.jl](https://github.com/JuliaNLSolvers/LineSearches.jl/). Allows automatic
[LineSearches.jl](https://github.com/JuliaNLSolvers/LineSearches.jl/). Allows automatic
construction of the objective functions for the line search algorithms utilizing automatic
differentiation for fast Vector Jacobian Products.
Expand Down
2 changes: 1 addition & 1 deletion test/basictests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ end
end
end

# Miscelleneous Tests
# Miscellaneous Tests
@testset "Custom JVP" begin
function F(u::Vector{Float64}, p::Vector{Float64})
Δ = Tridiagonal(-ones(99), 2 * ones(100), -ones(99))
Expand Down

0 comments on commit c2c4ded

Please sign in to comment.