greek_lang/Taskfile.yml

52 lines
1.0 KiB
YAML

version: '3'
tasks:
mypy:
desc: "Run mypy for type checking"
cmds:
- mypy --strict src/greek_lang --python-version 3.13 --strict
ruff-check:
desc: “Run ruff lint checks”
cmds:
- ruff check src/greek_lang
- ruff format --check src/greek_lang
ruff-fix:
desc: “Auto-fix issues and format code with ruff”
cmds:
- ruff check --fix src/greek_lang
- ruff format src/greek_lang
ruff-format:
desc: "Format code using ruff"
cmds:
- ruff format src/greek_lang
check:
desc: "Run mypy and ruff checks"
cmds:
- task mypy
- task ruff-check
fix:
desc: "Run auto-fixes using ruff"
cmds:
- task ruff-fix
- task ruff-format
deps-update:
desc: "Update all dependencies (uv lock --upgrade && uv sync)"
cmds:
- uv lock --upgrade
- uv sync
clean:
desc: "Clean cache and temporary files"
cmds:
- rm -rf .mypy_cache
- rm -rf .ruff_cache
- rm -rf .pytest_cache
- rm -rf htmlcov
- rm -rf .coverage