Skip to content

Commit 5d5afef

Browse files
committed
Use Python dependency installation task in spell check tasks
A dedicated task has been added for installing the project's Python depencies, and this should be used throughout the taskfile in place of redundant direct commands.
1 parent b3a40d5 commit 5d5afef

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Taskfile.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,12 +404,14 @@ tasks:
404404

405405
general:check-spelling:
406406
desc: Check for commonly misspelled words
407+
deps:
408+
- task: poetry:install-deps
407409
cmds:
408-
- poetry install --no-root
409410
- poetry run codespell
410411

411412
general:correct-spelling:
412413
desc: Correct commonly misspelled words where possible
414+
deps:
415+
- task: poetry:install-deps
413416
cmds:
414-
- poetry install --no-root
415417
- poetry run codespell --write-changes

0 commit comments

Comments
 (0)