Skip to content

Commit dbce102

Browse files
author
jeff nasseri
committed
refactor(init): Clean up package initialization file
Simplified the package __init__.py file by removing version declaration and extra whitespace. This change streamlines the module initialization and removes redundant version information that should be managed through proper packaging configuration files. - Removed __version__ variable from __init__.py - Cleaned up trailing whitespace and empty lines - Maintains essential module docstring for package description
1 parent 8767f9b commit dbce102

File tree

22 files changed

+3032
-3545
lines changed

22 files changed

+3032
-3545
lines changed

.README.md.un~

-3.01 KB
Binary file not shown.
File renamed without changes.

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__pycache__
2-
.venv
1+
__pycache__
2+
.venv

.idea/.gitignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

.idea/indexLayout.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/workspace.xml

Lines changed: 128 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
FROM python:3.10-slim
2-
3-
# Install Helm and required dependencies
4-
RUN apt-get update && \
5-
apt-get install -y curl apt-transport-https gnupg2 && \
6-
curl https://baltocdn.com/helm/signing.asc | apt-key add - && \
7-
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list && \
8-
apt-get update && \
9-
apt-get install -y helm && \
10-
apt-get clean && \
11-
rm -rf /var/lib/apt/lists/*
12-
13-
# Set up work directory
14-
WORKDIR /app
15-
16-
# Install MCP package
17-
RUN pip install --no-cache-dir mcp>=0.1.0
18-
19-
# Copy the MCP server code
20-
COPY ./src/mcp_server_helm/server.py .
21-
22-
# Set the entrypoint to run the server directly
1+
FROM python:3.10-slim
2+
3+
# Install Helm and required dependencies
4+
RUN apt-get update && \
5+
apt-get install -y curl apt-transport-https gnupg2 && \
6+
curl https://baltocdn.com/helm/signing.asc | apt-key add - && \
7+
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list && \
8+
apt-get update && \
9+
apt-get install -y helm && \
10+
apt-get clean && \
11+
rm -rf /var/lib/apt/lists/*
12+
13+
# Set up work directory
14+
WORKDIR /app
15+
16+
# Install MCP package
17+
RUN pip install --no-cache-dir mcp>=0.1.0
18+
19+
# Copy the MCP server code
20+
COPY ./src/mcp_server_helm/server.py .
21+
22+
# Set the entrypoint to run the server directly
2323
ENTRYPOINT ["python", "/app/server.py"]

0 commit comments

Comments
 (0)