From fc01f1133c6ef4bd72b2e8ac1f949d55545076b3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 23 Aug 2024 18:28:11 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- socs/agents/pysmurf_monitor/agent.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/socs/agents/pysmurf_monitor/agent.py b/socs/agents/pysmurf_monitor/agent.py index 3eed85a70..6979e37f9 100644 --- a/socs/agents/pysmurf_monitor/agent.py +++ b/socs/agents/pysmurf_monitor/agent.py @@ -3,15 +3,14 @@ import os import queue import time +import traceback +from typing import Any, Dict, Optional, Tuple +import sqlalchemy +import txaio # type: ignore from ocs import ocs_agent, ocs_feed, site_config from twisted.internet import reactor from twisted.internet.protocol import DatagramProtocol -import txaio # type: ignore - -import traceback -from typing import Tuple, Optional, Dict, Any -import sqlalchemy from socs.db.suprsync import SupRsyncFilesManager, create_file @@ -246,7 +245,7 @@ def _stop( return True, 'Done monitoring.' -def make_parser(parser: Optional[argparse.ArgumentParser]=None) -> argparse.ArgumentParser: +def make_parser(parser: Optional[argparse.ArgumentParser] = None) -> argparse.ArgumentParser: if parser is None: parser = argparse.ArgumentParser()