Skip to content

Commit aa63628

Browse files
Christina ZhaoChristina Zhao
authored andcommitted
chore: isort fix updates
updated configs for isort and re-disabled the toml.
1 parent 8f397f7 commit aa63628

62 files changed

Lines changed: 200 additions & 163 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

PR_ISORT.md

Whitespace-only changes.

cforge/commands/deploy/deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Third-Party
1111
import typer
1212

13-
# First-Party
13+
# Local
1414
from cforge.common.console import get_console
1515

1616

cforge/commands/metrics/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Third-Party
1111
import typer
1212

13-
# First-Party
13+
# Local
1414
from cforge.common.console import get_console
1515
from cforge.common.http import make_authenticated_request
1616
from cforge.common.render import print_json

cforge/commands/resources/a2a.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@
88
"""
99

1010
# Standard
11-
import json
1211
from pathlib import Path
1312
from typing import Optional
1413

14+
import json
15+
1516
# Third-Party
1617
import typer
1718

1819
# First-Party
20+
from mcpgateway.schemas import A2AAgentCreate, A2AAgentUpdate
21+
22+
# Local
1923
from cforge.common.console import get_console
2024
from cforge.common.errors import handle_exception
2125
from cforge.common.http import make_authenticated_request
2226
from cforge.common.prompting import prompt_for_schema
2327
from cforge.common.render import print_json, print_table
24-
from mcpgateway.schemas import A2AAgentCreate, A2AAgentUpdate
2528

2629

2730
def a2a_list(

cforge/commands/resources/mcp_servers.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@
88
"""
99

1010
# Standard
11-
import json
1211
from pathlib import Path
1312
from typing import Optional
1413

14+
import json
15+
1516
# Third-Party
1617
import typer
1718

1819
# First-Party
20+
from mcpgateway.schemas import GatewayCreate, GatewayUpdate
21+
22+
# Local
1923
from cforge.common.console import get_console
2024
from cforge.common.errors import handle_exception
2125
from cforge.common.http import make_authenticated_request
2226
from cforge.common.prompting import prompt_for_schema
2327
from cforge.common.render import print_json, print_table
24-
from mcpgateway.schemas import GatewayCreate, GatewayUpdate
2528

2629

2730
def mcp_servers_list(

cforge/commands/resources/plugins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Third-Party
2020
import typer
2121

22-
# First-Party
22+
# Local
2323
from cforge.common.console import get_console
2424
from cforge.common.errors import AuthenticationError, CaseInsensitiveEnum, CLIError, handle_exception
2525
from cforge.common.http import make_authenticated_request

cforge/commands/resources/prompts.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@
88
"""
99

1010
# Standard
11-
import json
1211
from pathlib import Path
1312
from typing import Any, Dict, Optional
1413

14+
import json
15+
1516
# Third-Party
1617
import typer
1718

1819
# First-Party
20+
from mcpgateway.schemas import PromptCreate, PromptUpdate
21+
22+
# Local
1923
from cforge.common.console import get_console
2024
from cforge.common.errors import handle_exception
2125
from cforge.common.http import make_authenticated_request
2226
from cforge.common.prompting import prompt_for_schema
2327
from cforge.common.render import print_json, print_table
24-
from mcpgateway.schemas import PromptCreate, PromptUpdate
2528

2629

2730
def prompts_list(

cforge/commands/resources/resources.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@
88
"""
99

1010
# Standard
11-
import json
1211
from pathlib import Path
1312
from typing import Any, Dict, Optional
1413

14+
import json
15+
1516
# Third-Party
1617
import typer
1718

1819
# First-Party
20+
from mcpgateway.schemas import ResourceCreate, ResourceUpdate
21+
22+
# Local
1923
from cforge.common.console import get_console
2024
from cforge.common.errors import handle_exception
2125
from cforge.common.http import make_authenticated_request
2226
from cforge.common.prompting import prompt_for_schema
2327
from cforge.common.render import print_json, print_table
24-
from mcpgateway.schemas import ResourceCreate, ResourceUpdate
2528

2629

2730
def resources_list(

cforge/commands/resources/tools.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@
88
"""
99

1010
# Standard
11-
import json
1211
from pathlib import Path
1312
from typing import Any, Dict, Optional
1413

14+
import json
15+
1516
# Third-Party
1617
import typer
1718

1819
# First-Party
20+
from mcpgateway.schemas import ToolCreate, ToolUpdate
21+
22+
# Local
1923
from cforge.common.console import get_console
2024
from cforge.common.errors import CLIError, handle_exception
2125
from cforge.common.http import make_authenticated_request
2226
from cforge.common.prompting import prompt_for_json_schema, prompt_for_schema
2327
from cforge.common.render import print_json, print_table
24-
from mcpgateway.schemas import ToolCreate, ToolUpdate
2528

2629

2730
def tools_list(

cforge/commands/resources/virtual_servers.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,23 @@
88
"""
99

1010
# Standard
11-
import json
1211
from pathlib import Path
1312
from typing import Optional
1413

14+
import json
15+
1516
# Third-Party
1617
import typer
1718

1819
# First-Party
20+
from mcpgateway.schemas import ServerCreate, ServerUpdate
21+
22+
# Local
1923
from cforge.common.console import get_console
2024
from cforge.common.errors import handle_exception
2125
from cforge.common.http import make_authenticated_request
2226
from cforge.common.prompting import prompt_for_schema
2327
from cforge.common.render import print_json, print_table
24-
from mcpgateway.schemas import ServerCreate, ServerUpdate
2528

2629

2730
def _fixup_payload(data: dict) -> dict:

0 commit comments

Comments
 (0)