Skip to content

Commit

Permalink
make ruff check happy
Browse files Browse the repository at this point in the history
  • Loading branch information
dsp-ant committed Nov 18, 2024
1 parent 3e6bb69 commit def05e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/create_mcp_server/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import json
import re
import shutil
import subprocess
import sys
from pathlib import Path

import click
from jinja2 import defaults
from packaging.version import parse

MIN_UV_VERSION = "0.4.10"
Expand Down Expand Up @@ -294,7 +292,7 @@ def main(
assert isinstance(version, str)
try:
parse(version) # Validate semver format
except:
except Exception:
click.echo(
"❌ Error: Version must be a valid semantic version (e.g. 1.0.0)",
err=True,
Expand Down

0 comments on commit def05e5

Please sign in to comment.