-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
67 lines (55 loc) · 1.21 KB
/
Copy pathTaskfile.yml
File metadata and controls
67 lines (55 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: '3'
tasks:
default:
desc: List available tasks
cmds:
- task --list
install:
desc: Install dependencies
cmds:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
test:
desc: Run tests with pytest
cmds:
- pytest tests/ -v
coverage:
desc: Run tests with coverage
cmds:
- pytest --cov=docsync tests/
- coverage report
lint:
desc: Run code quality checks (Ruff & Mypy)
cmds:
- ruff check .
- mypy src/docsync
format:
desc: Auto-format code with Ruff
cmds:
- ruff format .
- ruff check . --fix
clean:
desc: Remove cache and temporary files
cmds:
- cmd /c "del /s /q __pycache__ .pytest_cache .mypy_cache .ruff_cache build dist *.egg-info"
ignore_error: true
run:
desc: Run DocSync CLI help
cmds:
- python -m docsync --help
serve:
desc: Start MCP Server
cmds:
- docsync serve
build:
desc: Build Python package
cmds:
- python -m build
publish-test:
desc: Publish to TestPyPI
cmds:
- twine upload --repository testpypi dist/*
security:
desc: Run security audit
cmds:
- bandit -r src/docsync