Skip to content

Commit 077c586

Browse files
authored
Merge pull request #78 from netresearch/fix/ruff-latest-findings
style: satisfy latest ruff
2 parents 11d59de + 145d12e commit 077c586

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

skills/php-modernization/scripts/introspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# Sibling-import the shared module. PEP 723 scripts launched via `uv run`
2828
# don't add their own directory to sys.path, so we add it explicitly.
2929
sys.path.insert(0, str(Path(__file__).resolve().parent))
30-
from _common import ( # noqa: E402
30+
from _common import (
3131
SCHEMA_VERSION,
3232
SKILL_ID,
3333
composer_dep_mentions,

skills/php-modernization/scripts/modernize_loop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
import subprocess
2424
import sys
2525
import time
26+
from collections.abc import Iterable
2627
from dataclasses import asdict, dataclass, field
2728
from pathlib import Path
28-
from typing import Iterable
2929

3030
SCHEMA_VERSION = "1.0.0"
3131
ARTIFACT_DIR = Path(".build/php-modernization")

skills/php-modernization/scripts/verify_php_project.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,16 @@
2626
import subprocess
2727
import sys
2828
import xml.etree.ElementTree as ET
29+
from collections.abc import Iterable
2930
from dataclasses import asdict, dataclass, field
3031
from datetime import datetime, timezone
3132
from pathlib import Path
32-
from typing import Any, Iterable
33+
from typing import Any
3334

3435
# Sibling-import the shared module. PEP 723 scripts launched via `uv run`
3536
# don't add their own directory to sys.path, so we add it explicitly.
3637
sys.path.insert(0, str(Path(__file__).resolve().parent))
37-
from _common import ( # noqa: E402
38+
from _common import (
3839
SCHEMA_VERSION,
3940
SKILL_ID,
4041
SKILL_VERSION,

0 commit comments

Comments
 (0)