Skip to content

Commit

Permalink
WIP: Add codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed Nov 4, 2024
1 parent 88543fd commit 3f3f8df
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,13 @@ jobs:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -o pipefail
doc8 docs | reviewdog -efm='%f:%l: %m' -name=doc8 -reporter=github-check -filter-mode=nofilter
doc8 docs | reviewdog -efm='%f:%l: %m' -name=doc8 -reporter=github-check -filter-mode=nofilter
- name: Run codespell
# Don't skip codespell if any other steps fail
if: always()
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -o pipefail
codespell | reviewdog -efm='%f:%l: %m' -name=codespell -reporter=github-check -filter-mode=nofilter
4 changes: 3 additions & 1 deletion ci/linting_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ flake8-requirements==2.2.1
flake8-rst-docstrings==0.2.7

doc8==1.0.0
restructuredtext_lint==1.4.0
restructuredtext_lint==1.4.0

codespell==2.3.0

0 comments on commit 3f3f8df

Please sign in to comment.