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
+3 -2
View File
@@ -5,7 +5,7 @@ pyserve down - Stop all services
import signal
import time
from pathlib import Path
from typing import Optional, cast
from typing import cast
import click
@@ -56,6 +56,7 @@ def down_cmd(
try:
import os
# FIXME: Please fix the cast usage here
os.kill(cast(int, daemon_pid), signal.SIGTERM)
@@ -93,8 +94,8 @@ def down_cmd(
console.print("[bold]Stopping services...[/bold]")
from .._runner import ServiceRunner
from ...config import Config
from .._runner import ServiceRunner
config_path = Path(ctx.config_file)
if config_path.exists():