From 94cce303f490a37688c99767cf95f6f6c8efa320 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Mon, 16 Dec 2024 17:48:35 +0200 Subject: [PATCH] Added codespell action, #124. --- .codespellrc | 2 ++ .github/workflows/codespell.yml | 22 ++++++++++++++++++++++ .gitignore | 14 ++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 .codespellrc create mode 100644 .github/workflows/codespell.yml diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..25c9ebd --- /dev/null +++ b/.codespellrc @@ -0,0 +1,2 @@ +[codespell] +skip = build,cmake-build-debug diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..3ebbf55 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,22 @@ +--- +name: Codespell + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Codespell + uses: codespell-project/actions-codespell@v2 diff --git a/.gitignore b/.gitignore index 59680d0..428a58d 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,17 @@ Videos/ *.pyc Capture/C++/VideoCapture venvs +build/ +.coverage* +.dir-locals.el +dist/ +*.egg-info +.env.* +!.env.local +.flake8 +.idea/ +.mypy_cache/ +*.pid +*.pyc +.python-version +