From 22e8717e0c01a9b623c5e0a2fd82ffaf6fdd4177 Mon Sep 17 00:00:00 2001 From: agatha Date: Sun, 10 May 2026 22:50:05 +0000 Subject: [PATCH] Chore: Exclude alembic/ from Ruff linting Alembic scaffolds migration files from its own template which uses pre-3.10 conventions (Union[X, Y], typing.Sequence, etc). Excluding avoids noise on every new migration without affecting app code coverage. Co-Authored-By: Claude Sonnet 4.6 --- api/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/api/pyproject.toml b/api/pyproject.toml index 7e6ac52..2810fde 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -30,6 +30,7 @@ dev = [ [tool.ruff] line-length = 100 target-version = "py312" +exclude = ["alembic/"] [tool.ruff.lint] select = ["E", "F", "I", "UP", "B", "SIM"]