From d0c07557d83cb3734c2f165c9282c384bb91b8a6 Mon Sep 17 00:00:00 2001 From: Limitex <76650151+Limitex@users.noreply.github.com> Date: Thu, 30 Oct 2025 21:37:33 +0900 Subject: [PATCH] fix: taskfile --- Taskfile.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 2d59dd4..606e3f5 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -67,24 +67,25 @@ tasks: format: desc: "Automatically format code using Ruff" cmds: - - poetry run ruff format {{.PYTHON_DIRS}} - - poetry run ruff check {{.PYTHON_DIRS}} --fix + - poetry run ruff format {{.PYTHON_DIRS}} __init__.py + - poetry run ruff check {{.PYTHON_DIRS}} __init__.py --fix format:check: desc: "Check code formatting without making changes" cmds: - echo "Checking ruff format..." - - poetry run ruff format {{.PYTHON_DIRS}} --check + - poetry run ruff format {{.PYTHON_DIRS}} __init__.py --check + - poetry run ruff format __init__.py --check lint: desc: "Run linting with ruff" cmds: - - poetry run ruff check {{.PYTHON_DIRS}} + - poetry run ruff check {{.PYTHON_DIRS}} __init__.py lint:fix: desc: "Run linting with auto-fix" cmds: - - poetry run ruff check {{.PYTHON_DIRS}} --fix + - poetry run ruff check {{.PYTHON_DIRS}} __init__.py --fix type: desc: "Run static type checking using mypy"