From 846ab2b4c5e502c86e19c15a865136a015a187e0 Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Mon, 4 Dec 2023 06:34:47 +0100 Subject: [PATCH] typos CI --- .github/workflows/SpellCheck.yml | 13 +++++++++++++ .typos.toml | 1 + src/DataInterpolations.jl | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/SpellCheck.yml create mode 100644 .typos.toml diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml new file mode 100644 index 00000000..599253c8 --- /dev/null +++ b/.github/workflows/SpellCheck.yml @@ -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/typos@v1.16.23 \ No newline at end of file diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 00000000..79b68a4c --- /dev/null +++ b/.typos.toml @@ -0,0 +1 @@ +[default.extend-words] \ No newline at end of file diff --git a/src/DataInterpolations.jl b/src/DataInterpolations.jl index 9aaad786..cbfdc520 100644 --- a/src/DataInterpolations.jl +++ b/src/DataInterpolations.jl @@ -111,7 +111,7 @@ struct CurvefitCache{ u::uType t::tType m::mType # model type - p0::p0Type # intial params + p0::p0Type # initial params ub::ubType # upper bound of params lb::lbType # lower bound of params alg::algType # alg to optimize cost function