Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies = []

[dependency-groups]
dev = [
"mypy==1.17.1",
"mypy==2.4.0",
"yamllint==1.38.0",
"websockets>=17.3,<18",
]
Expand Down
2 changes: 1 addition & 1 deletion tools/codegen/generate_error_catalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pathlib import Path
from typing import Any, Final

import yaml # type: ignore[import-untyped] # PyYAML ships without inline type stubs
import yaml

ROOT: Final[Path] = Path(__file__).resolve().parents[2]
SOURCE: Final[Path] = ROOT / "contracts/errors/error-catalog.yaml"
Expand Down
2 changes: 1 addition & 1 deletion tools/contracts/detect_breaking_error_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import subprocess
from typing import Any, Sequence

import yaml # type: ignore[import-untyped] # PyYAML ships without inline type stubs
import yaml

ROOT = Path(__file__).resolve().parents[2]
CATALOG_RELATIVE = "contracts/errors/error-catalog.yaml"
Expand Down
2 changes: 1 addition & 1 deletion tools/errors/build_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from pathlib import Path
from typing import Any, Dict, List
import yaml # type: ignore[import-untyped] # PyYAML ships without inline type stubs
import yaml

from tools.errors.validate_catalog import (
validate_catalog,
Expand Down
2 changes: 1 addition & 1 deletion tools/errors/test_validate_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def test_legacy_validation_and_current_catalog(self) -> None:

def test_lifecycle_history_retires_err_12(self) -> None:
"""Verify lifecycle history records ERR-12 retirement without replacement."""
import yaml # type: ignore[import-untyped]
import yaml
lifecycle_path = ROOT / "contracts/errors/lifecycle-history.yaml"
self.assertTrue(lifecycle_path.exists())
records = yaml.safe_load(lifecycle_path.read_text(encoding="utf-8"))
Expand Down
2 changes: 1 addition & 1 deletion tools/errors/validate_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import sys
from typing import Any, Dict, List, Optional, Set, Tuple

import yaml # type: ignore[import-untyped] # PyYAML ships without inline type stubs
import yaml

CODE_PATTERN = re.compile(r"^[1-9]{4}(0[1-9]|[1-9][0-9])$")
LEGACY_CODE_PATTERN = re.compile(r"^ERR-[0-9]{2}$")
Expand Down
2 changes: 1 addition & 1 deletion tools/errors/validate_six_digit_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import sys
from typing import Any

import yaml # type: ignore[import-untyped] # PyYAML ships without inline type stubs
import yaml

from tools.errors.validate_catalog import (
validate_domains_registry,
Expand Down
2 changes: 1 addition & 1 deletion tools/ops/validate_error_rollout.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import sys
from typing import Any

import yaml # type: ignore[import-untyped] # PyYAML ships without inline type stubs
import yaml

ROOT = Path(__file__).resolve().parents[2]
MANIFEST_PATH = ROOT / "infra/deploy/canary/error-rollout-config.yaml"
Expand Down
2 changes: 1 addition & 1 deletion tools/qa/check_error_hygiene.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from pathlib import Path
from typing import Final

import yaml # type: ignore[import-untyped] # PyYAML ships without inline type stubs
import yaml

ROOT: Final[Path] = Path(__file__).resolve().parents[2]
ALLOWLIST_PATH: Final[Path] = ROOT / "tools/qa/error_hygiene_allowlist.yaml"
Expand Down
235 changes: 213 additions & 22 deletions uv.lock

Large diffs are not rendered by default.

Loading