Skip to content

Commit 67c5717

Browse files
authored
autoflake isort black (#358)
Signed-off-by: Mihai Criveti <[email protected]>
1 parent ec7747d commit 67c5717

File tree

15 files changed

+124
-48
lines changed

15 files changed

+124
-48
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@ curl -s -X POST -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" \
268268
http://localhost:4444/servers | jq
269269

270270
# Example curl
271-
curl -s -X POST -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN"
272-
-H "Content-Type: application/json"
271+
curl -s -X POST -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN"
272+
-H "Content-Type: application/json"
273273
-d '{"name":"time_server","description":"Fast time tools","associatedTools":["6018ca46d32a4ac6b4c054c13a1726a2"]}' \
274-
http://localhost:4444/servers | jq
274+
http://localhost:4444/servers | jq
275275

276276
# 5️⃣ List servers (should now include the UUID of the newly created virtual server)
277277
curl -s -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" http://localhost:4444/servers | jq

docs/docs/architecture/roadmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,4 +412,4 @@
412412
7. **Chrome MCP Plugin Integration** - Browser extension for managing MCP configurations, servers, and connections
413413

414414
### 🔐 Secrets & Sensitive Data
415-
8. **Secure Secrets Management & Masking** - External secrets store integration (Vault)
415+
8. **Secure Secrets Management & Masking** - External secrets store integration (Vault)

mcp-servers/go/fast-time-server/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.23.10
77
require github.com/mark3labs/mcp-go v0.32.0 // MCP server/runtime
88

99
require (
10-
github.com/google/uuid v1.6.0 // indirect
11-
github.com/spf13/cast v1.7.1 // indirect
12-
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
10+
github.com/google/uuid v1.6.0 // indirect
11+
github.com/spf13/cast v1.7.1 // indirect
12+
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
1313
)

mcpgateway/alembic/env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
from logging.config import fileConfig
44

55
# Third-Party
6+
from alembic import context
67
from sqlalchemy import engine_from_config, pool
78

89
# First-Party
9-
from alembic import context
1010
from mcpgateway.config import settings
1111
from mcpgateway.db import Base
1212

mcpgateway/alembic/versions/b77ca9d2de7e_uuid_pk_and_slug_refactor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
import uuid
1313

1414
# Third-Party
15+
from alembic import op
1516
import sqlalchemy as sa
1617
from sqlalchemy.orm import Session
1718

1819
# First-Party
19-
from alembic import op
2020
from mcpgateway.config import settings
2121
from mcpgateway.utils.create_slug import slugify
2222

mcpgateway/alembic/versions/e4fc04d1a442_add_annotations_to_tables.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
from typing import Sequence, Union
1212

1313
# Third-Party
14-
import sqlalchemy as sa
15-
16-
# First-Party
1714
from alembic import op
15+
import sqlalchemy as sa
1816

1917
# revision identifiers, used by Alembic.
2018
revision: str = "e4fc04d1a442"

mcpgateway/alembic/versions/e75490e949b1_add_improved_status_to_tables.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010
from typing import Sequence, Union
1111

1212
# Third-Party
13-
import sqlalchemy as sa
14-
15-
# First-Party
1613
# Alembic / SQLAlchemy
1714
from alembic import op
15+
import sqlalchemy as sa
1816

1917
# Revision identifiers.
2018
revision: str = "e75490e949b1"

mcpgateway/bootstrap_db.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
import logging
2626

2727
# Third-Party
28+
from alembic import command
29+
from alembic.config import Config
2830
from sqlalchemy import create_engine, inspect
2931

3032
# First-Party
31-
from alembic import command
32-
from alembic.config import Config
3333
from mcpgateway.config import settings
3434
from mcpgateway.db import Base
3535

mcpgateway/handlers/sampling.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
# First-Party
2020
from mcpgateway.models import CreateMessageResult, ModelPreferences, Role, TextContent
2121

22-
2322
logger = logging.getLogger(__name__)
2423

2524

mcpgateway/services/prompt_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
# First-Party
3131
from mcpgateway.db import Prompt as DbPrompt
3232
from mcpgateway.db import PromptMetric, server_prompt_association
33-
from mcpgateway.schemas import PromptCreate, PromptRead, PromptUpdate
3433
from mcpgateway.models import Message, PromptResult, Role, TextContent
34+
from mcpgateway.schemas import PromptCreate, PromptRead, PromptUpdate
3535

3636
logger = logging.getLogger(__name__)
3737

0 commit comments

Comments
 (0)