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:
Zeecka
2026-02-21 00:00:48 +01:00
committed by GitHub
parent 6660cd2e5d
commit 730ed50f70
39 changed files with 767 additions and 868 deletions
+7 -13
View File
@@ -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!"