fixed flake8 lint errors

This commit is contained in:
Илья Глазунов
2025-12-04 03:06:58 +03:00
parent cec6e927a7
commit 7662a7924a
17 changed files with 62 additions and 84 deletions
+2 -2
View File
@@ -7,7 +7,6 @@ import signal
import sys
import time
from pathlib import Path
from typing import List, Optional
import click
@@ -78,9 +77,9 @@ def up_cmd(
pyserve up --scale api=4 # Scale api to 4 workers
pyserve up --wait # Wait for healthy status
"""
from .._runner import ServiceRunner
from ..output import console, print_error, print_info, print_success, print_warning
from ..state import StateManager
from .._runner import ServiceRunner
config_path = Path(ctx.config_file)
@@ -116,6 +115,7 @@ def up_cmd(
try:
import os
from typing import cast
# FIXME: Please fix the cast usage here
os.kill(cast(int, daemon_pid), signal.SIGTERM)
time.sleep(2)