Skip to content

Commit

Permalink
Merge pull request #203 from ArnoStrouwen/typos
Browse files Browse the repository at this point in the history
typos CI
  • Loading branch information
ChrisRackauckas authored Dec 29, 2023
2 parents 2e2e239 + 201d9de commit b771463
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"]
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]
3 changes: 3 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[default.extend-words]
numer = "numer"
MOR = "MOR"
2 changes: 1 addition & 1 deletion docs/make_aggregate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ docsmodules = [
],
]

fixnames = Dict("SciMLDocs" => "The SciML Open Souce Software Ecosystem",
fixnames = Dict("SciMLDocs" => "The SciML Open Source Software Ecosystem",
"DiffEqDocs" => "DifferentialEquations",
"DiffEqDevDocs" => "DiffEq Developer Documentation",
"PlotDocs" => "Plots",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/highlevels/developer_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ JuliaFormatter check for SciML Style compliance on pull requests.
To run JuliaFormatter in a SciML repository, do:

```julia
using JuliaFomatter, DevedPackage
using JuliaFormatter, DevedPackage
JuliaFormatter.format(pkgdir(DevedPackage))
```

Expand Down
2 changes: 1 addition & 1 deletion docs/src/showcase/blackhole.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function h_22_quadrupole_components(dt, orbit, component, mass=1.0)
x(t) and y(t) inputs are the trajectory of the orbiting BH.
WARNING: assuming x and y are on a uniform grid of spacing dt
x_index and y_index are 1,2,3 for x, y, and z indicies.
x_index and y_index are 1,2,3 for x, y, and z indices.
=#
mtensor = orbit2tensor(orbit, component, mass)
Expand Down

0 comments on commit b771463

Please sign in to comment.