forked from LiveCarta/ContentAutomation
Replaced mypy type checker with ty
This commit is contained in:
10
Makefile
10
Makefile
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user