diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml deleted file mode 100644 index d5cf40f6d..000000000 --- a/.github/workflows/codespell.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -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@v1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index acd9fa040..39640d0f9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,3 +21,7 @@ repos: args: [ --fix, "--show-fixes"] - id: ruff-format types_or: [python] + - repo: https://github.com/codespell-project/codespell + rev: v2.4.0 + hooks: + - id: codespell