diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1e8a051 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + ignore: + - dependency-name: "crate-ci/typos" + update-types: ["version-update:semver-patch"] diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml new file mode 100644 index 0000000..599253c --- /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 0000000..79b68a4 --- /dev/null +++ b/.typos.toml @@ -0,0 +1 @@ +[default.extend-words] \ No newline at end of file diff --git a/src/interface.jl b/src/interface.jl index 588e1bb..e9f4e15 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -74,7 +74,7 @@ parameters(::Any) = [] $(TYPEDSIGNATURES) Find the index of the given sym in the given system. Default to the index of the first -symbol in the iterable retruned by `parameters` which matches the given `sym`. Return +symbol in the iterable returned by `parameters` which matches the given `sym`. Return `nothing` if the given `sym` does not match. """ function param_sym_to_index end