Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit def05e5

Browse files
committed
make ruff check happy
1 parent 3e6bb69 commit def05e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/create_mcp_server/__init__.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import json
22
import re
3-
import shutil
43
import subprocess
54
import sys
65
from pathlib import Path
76

87
import click
9-
from jinja2 import defaults
108
from packaging.version import parse
119

1210
MIN_UV_VERSION = "0.4.10"
@@ -294,7 +292,7 @@ def main(
294292
assert isinstance(version, str)
295293
try:
296294
parse(version) # Validate semver format
297-
except:
295+
except Exception:
298296
click.echo(
299297
"❌ Error: Version must be a valid semantic version (e.g. 1.0.0)",
300298
err=True,

0 commit comments

Comments
 (0)