Skip to content

Commit 1cb6481

Browse files
committed
typos CI
1 parent a041eac commit 1cb6481

File tree

6 files changed

+30
-4
lines changed

6 files changed

+30
-4
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "weekly"
8+
ignore:
9+
- dependency-name: "crate-ci/typos"
10+
update-types: ["version-update:semver-patch"]

.github/workflows/SpellCheck.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Spell Check
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
typos-check:
7+
name: Spell Check with Typos
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Actions Repository
11+
uses: actions/checkout@v3
12+
- name: Check spelling
13+
uses: crate-ci/typos@v1.16.23

.typos.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[default.extend-words]
2+
nd = "nd"
3+
siz = "siz"

docs/src/manual/representation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ Note that in this case `recurse=true` was necessary as otherwise the polynomiali
6767

6868
### Simplifying fractions
6969

70-
`simplify_fractions(expr)` recurses through `expr` finding `Div`s and simplifying them using polynomial divison.
70+
`simplify_fractions(expr)` recurses through `expr` finding `Div`s and simplifying them using polynomial division.
7171

72-
First the factors of the numerators and the denominators are converted into PolyForm objects, then numerators and denominators are divided by their respective pairwise GCDs. The conversion of the numerator and denominator into PolyForm is set up so that `simplify_fractions` does not result in increase in the expression size due to polynomial expansion. Specifically, the factors are individually converted into PolyForm objects, and any powers of polynomial is not expanded, but the divison process repeatedly divides them as many times as the power.
72+
First the factors of the numerators and the denominators are converted into PolyForm objects, then numerators and denominators are divided by their respective pairwise GCDs. The conversion of the numerator and denominator into PolyForm is set up so that `simplify_fractions` does not result in increase in the expression size due to polynomial expansion. Specifically, the factors are individually converted into PolyForm objects, and any powers of polynomial is not expanded, but the division process repeatedly divides them as many times as the power.
7373

7474

7575
```julia

docs/src/manual/rewrite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ rewriters.
152152
- `RestartedChain(itr)` like `Chain(itr)` but restarts from the first rewriter once on the
153153
first successful application of one of the chained rewriters.
154154
- `IfElse(cond, rw1, rw2)` runs the `cond` function on the input, applies `rw1` if cond
155-
returns true, `rw2` if it retuns false
155+
returns true, `rw2` if it returns false
156156
- `If(cond, rw)` is the same as `IfElse(cond, rw, Empty())`
157157
- `Prewalk(rw; threaded=false, thread_cutoff=100)` returns a rewriter which does a pre-order
158158
(*from top to bottom and from left to right*) traversal of a given expression and applies

src/rewriters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ rewriters.
1313
- `RestartedChain(itr)` like `Chain(itr)` but restarts from the first rewriter once on the
1414
first successful application of one of the chained rewriters.
1515
- `IfElse(cond, rw1, rw2)` runs the `cond` function on the input, applies `rw1` if cond
16-
returns true, `rw2` if it retuns false
16+
returns true, `rw2` if it returns false
1717
- `If(cond, rw)` is the same as `IfElse(cond, rw, Empty())`
1818
- `Prewalk(rw; threaded=false, thread_cutoff=100)` returns a rewriter which does a pre-order
1919
traversal of a given expression and applies the rewriter `rw`. Note that if

0 commit comments

Comments
 (0)