Skip to content

Commit 399a8a9

Browse files
committed
Add comprehensive spell checking configuration
- Add .typos.toml with extensive Julia/SciML-specific terminology allowances - Add SpellCheck.yml GitHub Actions workflow for automated spell checking - Includes allowances for Julia functions, mathematical terms, variable patterns, and scientific abbreviations - Standardizes spell checking across SciML ecosystem
1 parent d9bc4d2 commit 399a8a9

File tree

2 files changed

+73
-4
lines changed

2 files changed

+73
-4
lines changed

.github/workflows/SpellCheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
- name: Checkout Actions Repository
1111
uses: actions/checkout@v4
1212
- name: Check spelling
13-
uses: crate-ci/[email protected]
13+
uses: crate-ci/[email protected]

.typos.toml

Lines changed: 72 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,73 @@
11
[default.extend-words]
2-
fom = "fom"
3-
Pris = "Pris"
4-
PARM = "PARM"
2+
# Julia-specific functions
3+
indexin = "indexin"
4+
findfirst = "findfirst"
5+
findlast = "findlast"
6+
eachindex = "eachindex"
7+
setp = "setp"
8+
getp = "getp"
9+
setu = "setu"
10+
getu = "getu"
11+
12+
# Mathematical/scientific terms
13+
jacobian = "jacobian"
14+
hessian = "hessian"
15+
eigenvalue = "eigenvalue"
16+
eigenvector = "eigenvector"
17+
discretization = "discretization"
18+
linearization = "linearization"
19+
parameterized = "parameterized"
20+
discretized = "discretized"
21+
vectorized = "vectorized"
22+
23+
# Common variable patterns in Julia/SciML
24+
ists = "ists"
25+
ispcs = "ispcs"
26+
osys = "osys"
27+
rsys = "rsys"
28+
usys = "usys"
29+
fsys = "fsys"
30+
eqs = "eqs"
31+
rhs = "rhs"
32+
lhs = "lhs"
33+
ode = "ode"
34+
pde = "pde"
35+
sde = "sde"
36+
dde = "dde"
37+
bvp = "bvp"
38+
ivp = "ivp"
39+
40+
# Common abbreviations
41+
tol = "tol"
42+
rtol = "rtol"
43+
atol = "atol"
44+
idx = "idx"
45+
jdx = "jdx"
46+
prev = "prev"
47+
curr = "curr"
48+
init = "init"
49+
tmp = "tmp"
50+
vec = "vec"
51+
arr = "arr"
52+
dt = "dt"
53+
du = "du"
54+
dx = "dx"
55+
dy = "dy"
56+
dz = "dz"
57+
58+
# Algorithm/type suffixes
59+
alg = "alg"
60+
prob = "prob"
61+
sol = "sol"
62+
cb = "cb"
63+
opts = "opts"
64+
args = "args"
65+
kwargs = "kwargs"
66+
67+
# Scientific abbreviations
68+
ND = "ND"
69+
nd = "nd"
70+
MTK = "MTK"
71+
ODE = "ODE"
72+
PDE = "PDE"
73+
SDE = "SDE"

0 commit comments

Comments
 (0)