chore: consolidate to single ruff config in root pyproject.toml
All checks were successful
CI / test-cli (push) Successful in 11s
CI / test-sqlmesh (push) Successful in 14s
CI / test-web (push) Successful in 14s
CI / tag (push) Successful in 2s

- Merge web ruff settings (select E/F/I/UP, line-length 100) into root config
- Remove [tool.ruff] section from web/pyproject.toml
- Remove "web" from root ruff exclude list
- Simplify pre-commit hook to one command: ruff check .
- Update CI to use: uv run ruff check . (from repo root)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-02-28 12:21:01 +01:00
parent 42c1309b20
commit c8b86569ff
14 changed files with 29 additions and 37 deletions

View File

@@ -88,14 +88,15 @@ exclude = [
"site-packages",
"venv",
"notebooks",
"web",
]
line-length = 100
indent-width = 4
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = [
"E501", # line too long (handled by formatter)