Feature/ruff (#186)
* Ruff and Pyright OK * lint * uv * add uv to readme * Replace pyright with TY * Lint is ok
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# lint.sh - Run all formatters, linters, and type checks according to pyproject.toml
|
||||
# lint.sh - Run linting and type checks according to pyproject.toml
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
echo "🖤 Running Black..."
|
||||
black .
|
||||
echo "🧹 Running Ruff lint checks..."
|
||||
ruff check .
|
||||
|
||||
echo "📦 Running Isort..."
|
||||
isort .
|
||||
echo "🎨 Running Ruff format checks..."
|
||||
ruff format . --check
|
||||
|
||||
echo "🐍 Running Flake8..."
|
||||
flake8 --max-line-length 100 --extend-ignore=E203,E501,W503 .
|
||||
|
||||
echo "🔍 Running Mypy..."
|
||||
mypy .
|
||||
|
||||
echo "⚡ Running Pylint..."
|
||||
pylint aperisolve/
|
||||
echo "🔍 Running ty type checks..."
|
||||
ty check aperisolve
|
||||
|
||||
echo "✅ All checks passed!"
|
||||
|
||||
Reference in New Issue
Block a user