1
0

Replaced mypy type checker with ty

This commit is contained in:
2026-03-13 12:10:35 +00:00
parent 342d39d457
commit d800d9b7be
7 changed files with 59 additions and 99 deletions

View File

@@ -52,9 +52,9 @@ lint:
format:
@uv run ruff format .
# Run mypy type checker
# Run ty type checker
type-check:
@uv run mypy .
@uv run ty check
# Download Python .gitignore from GitHub
gitignore:
@@ -69,10 +69,10 @@ gitignore:
echo "✓ .gitignore download complete (log: /tmp/gitignore.log)"; \
fi
# Install dev tools (pre-commit, black, isort, bandit, ruff, mypy)
# Install dev tools (pre-commit, black, isort, bandit, ruff, ty)
dev-tools:
@echo "Installing dev tools (pre-commit, black, isort, bandit, ruff, mypy)..."
@uv add --dev pre-commit black isort 'bandit[toml]' ruff mypy > /tmp/dev-tools.log 2>&1
@echo "Installing dev tools (pre-commit, black, isort, bandit, ruff, ty)..."
@uv add --dev pre-commit black isort 'bandit[toml]' ruff ty > /tmp/dev-tools.log 2>&1
@echo "✓ Dev tools installed (log: /tmp/dev-tools.log)"
pre-commit-install: