@@ -15,7 +15,7 @@ echo -e "${BLUE}${BOLD}=== A2A Python Fixed-and-Lint Suite ===${NC}"
1515echo -e " Fixing formatting and linting issues, then verifying types...\n"
1616
1717# 1. Ruff Linter (with fix)
18- echo -e " ${YELLOW}${BOLD} --- [1/4 ] Running Ruff Linter (fix) ---${NC} "
18+ echo -e " ${YELLOW}${BOLD} --- [1/3 ] Running Ruff Linter (fix) ---${NC} "
1919if uv run ruff check --fix; then
2020 echo -e " ${GREEN} ✓ Ruff Linter passed (and fixed what it could)${NC} "
2121else
2424fi
2525
2626# 2. Ruff Formatter
27- echo -e " \n${YELLOW}${BOLD} --- [2/4 ] Running Ruff Formatter (apply) ---${NC} "
27+ echo -e " \n${YELLOW}${BOLD} --- [2/3 ] Running Ruff Formatter (apply) ---${NC} "
2828if uv run ruff format; then
2929 echo -e " ${GREEN} ✓ Ruff Formatter applied${NC} "
3030else
3131 echo -e " ${RED} ✗ Ruff Formatter failed${NC} "
3232 FAILED=1
3333fi
3434
35- # 3. MyPy Type Checker
36- echo -e " \n${YELLOW}${BOLD} --- [3/4 ] Running MyPy Type Checker ---${NC} "
37- if uv run mypy src ; then
38- echo -e " ${GREEN} ✓ MyPy passed${NC} "
35+ # 3. ty Type Checker
36+ echo -e " \n${YELLOW}${BOLD} --- [3/3 ] Running ty Type Checker ---${NC} "
37+ if uv run ty check ; then
38+ echo -e " ${GREEN} ✓ ty passed${NC} "
3939else
40- echo -e " ${RED} ✗ MyPy failed${NC} "
41- FAILED=1
42- fi
43-
44- # 4. Pyright Type Checker
45- echo -e " \n${YELLOW}${BOLD} --- [4/4] Running Pyright ---${NC} "
46- if uv run pyright; then
47- echo -e " ${GREEN} ✓ Pyright passed${NC} "
48- else
49- echo -e " ${RED} ✗ Pyright failed${NC} "
40+ echo -e " ${RED} ✗ ty failed${NC} "
5041 FAILED=1
5142fi
5243
0 commit comments