Skip to content

Commit

Permalink
add codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
skoudoro committed Dec 16, 2023
1 parent 15c5725 commit 575e308
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = .git,*.pdf,*.svg,*.bib
ignore-words-list = reson,nd,te,ue,lod,hart,ans,lastr,numer,lamda,flagg,pris
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
19 changes: 19 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Codespell

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,6 @@ doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) _build/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in _build/doctest/output.txt."

codespell:
codespell -d -q 3 --skip=".git, *.po,*.ts,_build"
2 changes: 1 addition & 1 deletion _templates/components/carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="pad-20 carousel-caption d-md-block">
<a href="{{ slide.link }}" target="_blank" rel="noopener noreferrer">
<h5>{{ slide.caption }}</h5>
<!-- {% if slide.description and slide.descritpion != "" %}
<!-- {% if slide.description and slide.description != "" %}
<p> {{ slide.description }} </p>
{% endif %} -->
</a>
Expand Down
2 changes: 1 addition & 1 deletion context/context.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ image = "gsoc.png"
url = "https://summerofcode.withgoogle.com/"

[[sponsors]]
name = "Indiana Univesity"
name = "Indiana University"
image = "iu.webp"
url = "https://www.iu.edu/"

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ grg-sphinx-theme>=0.3.2
Jinja2
ablog==0.11.5
sphinx-reredirects>=0.1.3
codespell>=2.2.6

0 comments on commit 575e308

Please sign in to comment.