From 917abc8ff03fbae7107936ce803f92f6f8f5c880 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 29 Jul 2025 14:02:56 -0400 Subject: [PATCH] Enhance .typos.toml configuration to prevent false positives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add comprehensive spell checking configuration for symbolic indexing terminology - Allow legitimate technical terms: setp (set parameter), setp_oop (set parameter out-of-place), getp, getu, setu - Include standard Julia/SciML terms to prevent false positives across the ecosystem - Covers mathematical terms, variable patterns, abbreviations, and scientific terminology This prevents the 42 false positive flags for legitimate `setp` and `setp_oop` function names while maintaining spell checking effectiveness for genuine typos. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .typos.toml | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/.typos.toml b/.typos.toml index 79b68a4c..4aed2f1b 100644 --- a/.typos.toml +++ b/.typos.toml @@ -1 +1,76 @@ -[default.extend-words] \ No newline at end of file +[default.extend-words] +# Julia-specific functions +indexin = "indexin" +findfirst = "findfirst" +findlast = "findlast" +eachindex = "eachindex" +setp = "setp" # Set parameter function +getp = "getp" # Get parameter function +setu = "setu" +getu = "getu" + +# Mathematical/scientific terms +jacobian = "jacobian" +hessian = "hessian" +eigenvalue = "eigenvalue" +eigenvector = "eigenvector" +discretization = "discretization" +linearization = "linearization" +parameterized = "parameterized" +discretized = "discretized" +vectorized = "vectorized" + +# Common variable patterns in Julia/SciML +ists = "ists" +ispcs = "ispcs" +osys = "osys" +rsys = "rsys" +usys = "usys" +fsys = "fsys" +eqs = "eqs" +rhs = "rhs" +lhs = "lhs" +ode = "ode" +pde = "pde" +sde = "sde" +dde = "dde" +bvp = "bvp" +ivp = "ivp" + +# Common abbreviations +tol = "tol" +rtol = "rtol" +atol = "atol" +idx = "idx" +jdx = "jdx" +prev = "prev" +curr = "curr" +init = "init" +tmp = "tmp" +vec = "vec" +arr = "arr" +dt = "dt" +du = "du" +dx = "dx" +dy = "dy" +dz = "dz" + +# Algorithm/type suffixes +alg = "alg" +prob = "prob" +sol = "sol" +cb = "cb" +opts = "opts" +args = "args" +kwargs = "kwargs" + +# Scientific abbreviations +ND = "ND" +nd = "nd" +MTK = "MTK" +ODE = "ODE" +PDE = "PDE" +SDE = "SDE" + +# SymbolicIndexingInterface-specific terms +setp_oop = "setp_oop" # Set parameter out-of-place function \ No newline at end of file