fix: taskfile

This commit is contained in:
Limitex
2025-10-31 20:53:33 +09:00
parent c39d32f8cd
commit d0c07557d8
+6 -5
View File
@@ -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"