Skip to content

Commit c2c4ded

Browse files
committed
add spellcheck CI
1 parent 8e8dad8 commit c2c4ded

File tree

6 files changed

+19
-4
lines changed

6 files changed

+19
-4
lines changed

.github/workflows/SpellCheck.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Spell Check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
typos-check:
7+
name: Spell Check with Typos
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Actions Repository
11+
uses: actions/checkout@v3
12+
- name: Check spelling
13+
uses: crate-ci/[email protected]

.typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[default.extend-words]
2+
SER = "SER"

src/broyden.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
GeneralBroyden(; max_resets = 3, linesearch = nothing, reset_tolerance = nothing)
44
5-
An implementation of `Broyden` with reseting and line search.
5+
An implementation of `Broyden` with resetting and line search.
66
77
## Arguments
88

src/lbroyden.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
LimitedMemoryBroyden(; max_resets::Int = 3, linesearch = nothing,
33
threshold::Int = 10, reset_tolerance = nothing)
44
5-
An implementation of `LimitedMemoryBroyden` with reseting and line search.
5+
An implementation of `LimitedMemoryBroyden` with resetting and line search.
66
77
## Arguments
88

src/linesearch.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
LineSearch(method = nothing, autodiff = nothing, alpha = true)
33
44
Wrapper over algorithms from
5-
[LineSeaches.jl](https://github.com/JuliaNLSolvers/LineSearches.jl/). Allows automatic
5+
[LineSearches.jl](https://github.com/JuliaNLSolvers/LineSearches.jl/). Allows automatic
66
construction of the objective functions for the line search algorithms utilizing automatic
77
differentiation for fast Vector Jacobian Products.
88

test/basictests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ end
985985
end
986986
end
987987

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

0 commit comments

Comments
 (0)