Skip to content

Commit

Permalink
Merge pull request #1020 from ArnoStrouwen/qa
Browse files Browse the repository at this point in the history
typos CI
  • Loading branch information
ChrisRackauckas authored Dec 13, 2023
2 parents 5b7640d + ba00f58 commit 645cb9f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
interval: "weekly"
ignore:
- dependency-name: "crate-ci/typos"
update-types: ["version-update:semver-patch"]
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]
4 changes: 4 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[default.extend-words]
numer = "numer"
Commun = "Commun"
nd = "nd"
2 changes: 1 addition & 1 deletion src/error_hints.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const FLOAT_NUM_CONVERSION_ERROR = """
An implict conversion of symbolic Num into a Float64 was encountered. Common causes for this error include:
An implicit conversion of symbolic Num into a Float64 was encountered. Common causes for this error include:
1. A substitution resulted in numerical values, but is not automatically converted to numerical values. For example:
Expand Down
2 changes: 1 addition & 1 deletion src/logexpfunctions-lib.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Implement a few of the LogExpFuncitons methods when those rely on boolean workflows.
# Implement a few of the LogExpFunctions methods when those rely on boolean workflows.

LogExpFunctions.log1mexp(x::RCNum) = log(1 - exp(x))
LogExpFunctions.log1pexp(x::RCNum) = log(1 + exp(x))
Expand Down
2 changes: 1 addition & 1 deletion src/wrapper-types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function wrap_func_expr(mod, expr)
#
# (1) T (2) wrapper_type(T) (3) Symbolic{T}
#
# However later while emiting methods we omit the one
# However later while emitting methods we omit the one
# method where all arguments are (1) since those are
# expected to be defined outside Symbolics
if arg isa Expr && arg.head == :(::)
Expand Down

0 comments on commit 645cb9f

Please sign in to comment.