Skip to content

Commit fa874e0

Browse files
Final linting cleanup - fix remaining edge cases
- Fix import sorting issue in debug handlers - Add file-level noqa for remaining test files - Add specific ipynb file patterns to pyproject.toml for notebook linting
1 parent c3924d7 commit fa874e0

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ known-first-party = ["agentex", "tests"]
300300
"scripts/**.py" = ["T201", "T203"]
301301
"tests/**.py" = ["T201", "T203", "ARG001", "ARG002", "ARG005"]
302302
"examples/**.py" = ["T201", "T203"]
303+
"examples/**.ipynb" = ["T201", "T203"]
303304
"examples/tutorials/**.py" = ["T201", "T203"]
305+
"examples/tutorials/**.ipynb" = ["T201", "T203"]
304306
"**/run_tests.py" = ["T201", "T203"]
305307
"**/dev_tools/**.py" = ["T201", "T203"]

src/agentex/lib/cli/debug/debug_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
import sys
88
import asyncio
9+
import asyncio.subprocess
910
from typing import TYPE_CHECKING, Dict
1011
from pathlib import Path
1112

12-
import asyncio.subprocess
1313
from rich.console import Console
1414

1515
if TYPE_CHECKING:

src/agentex/lib/sdk/fastacp/tests/test_base_acp_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ruff: noqa: ARG001
12
import asyncio
23
from unittest.mock import patch
34

src/agentex/lib/sdk/fastacp/tests/test_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ruff: noqa: ARG001
12
import asyncio
23
from unittest.mock import AsyncMock, MagicMock, patch
34

0 commit comments

Comments
 (0)