From fc2aa86b89c54b0e433f0439736a8c98ec424768 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sun, 4 May 2025 13:49:35 +0100 Subject: [PATCH] fix(build): Install the environment as part of linting --- Taskfile.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Taskfile.yaml b/Taskfile.yaml index 2d8b76a..07497a9 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -1,7 +1,12 @@ version: 3 tasks: + python:env: + cmds: + - poetry install --with=dev,github python:lint: desc: Lint Python files + deps: + - python:env cmds: - poetry run ruff check --output-format=github --select=E9,F63,F7,F82 --target-version=py39 . - poetry run ruff check --output-format=github --target-version=py39 .