style: apply ruff auto-fixes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
from typing import List, Dict, Any, Optional, Sequence
|
||||
from cmdlet._shared import Cmdlet, CmdletArg, parse_cmdlet_args
|
||||
from typing import List, Dict, Any, Sequence
|
||||
from cmdlet._shared import Cmdlet, CmdletArg
|
||||
from SYS.logger import log
|
||||
from SYS.result_table import Table
|
||||
from SYS import pipeline as ctx
|
||||
|
||||
@@ -213,7 +213,7 @@ def _run(piped_result: Any, args: List[str], config: Dict[str, Any]) -> int:
|
||||
# Check if we're in an interactive terminal and can launch a Textual modal
|
||||
if sys.stdin.isatty() and not piped_result:
|
||||
try:
|
||||
from textual.app import App, ComposeResult
|
||||
from textual.app import App
|
||||
from TUI.modalscreen.config_modal import ConfigModal
|
||||
|
||||
class ConfigApp(App):
|
||||
|
||||
@@ -4,7 +4,6 @@ import sys
|
||||
import json
|
||||
import socket
|
||||
import re
|
||||
import subprocess
|
||||
from urllib.parse import urlparse, parse_qs
|
||||
from pathlib import Path
|
||||
from cmdlet._shared import Cmdlet, CmdletArg, parse_cmdlet_args, resolve_tidal_manifest_path
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
import shutil
|
||||
from typing import Any, Dict, List, Optional, Sequence, Tuple
|
||||
from datetime import datetime
|
||||
from typing import Any, Dict, List
|
||||
|
||||
from cmdlet._shared import Cmdlet, CmdletArg
|
||||
from cmdlet._shared import Cmdlet
|
||||
from SYS import pipeline as ctx
|
||||
from SYS.result_table import Table
|
||||
from SYS.logger import log, set_debug, debug
|
||||
from SYS.rich_display import stdout_console
|
||||
from SYS.logger import set_debug, debug
|
||||
|
||||
CMDLET = Cmdlet(
|
||||
name=".status",
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
import os
|
||||
import sys
|
||||
import requests
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, List, Optional, Sequence
|
||||
from typing import Any, Dict, Sequence
|
||||
|
||||
# Add project root to sys.path
|
||||
root = Path(__file__).resolve().parent.parent
|
||||
if str(root) not in sys.path:
|
||||
sys.path.insert(0, str(root))
|
||||
|
||||
from cmdlet._shared import Cmdlet, CmdletArg
|
||||
from cmdlet._shared import Cmdlet
|
||||
from SYS.config import load_config
|
||||
from SYS.result_table import Table
|
||||
from API import zerotier as zt
|
||||
|
||||
Reference in New Issue
Block a user