From 17bacb8b5a927abecda6ce696d473154d2ab9124 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 22 Apr 2024 19:34:01 -0400 Subject: [PATCH 1/2] Add codespell-problem-matcher to lint workflow --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a350fc097..b9e5d8fb1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,6 +20,8 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install --upgrade tox + # Annotate codespell within PR + - uses: codespell-project/codespell-problem-matcher@v1 - name: Run linters run: | tox -e lint From 6885b40749c6cd058af55ca6e73c53db59ea621b Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 22 Apr 2024 19:41:44 -0400 Subject: [PATCH 2/2] Extend codespelling to docs and tools in tox --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 39bd25055..8c7f6093e 100644 --- a/tox.ini +++ b/tox.ini @@ -23,7 +23,7 @@ deps = codespell~=2.0 flake8 commands = - codespell dandi setup.py + codespell dandi docs tools setup.py flake8 --config=setup.cfg {posargs} dandi setup.py [testenv:typing]