Skip to content

Commit

Permalink
style(core): format code && add noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
HsiangNianian committed Jul 6, 2024
1 parent 9f7019a commit 71880e5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions hrc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
import signal
import sys
import threading
import time
import time # noqa: F401
from collections import defaultdict
from contextlib import AsyncExitStack
from itertools import chain
from pathlib import Path
from typing import (
Any,
Awaitable,
Callable,
Awaitable, # noqa: F401
Callable, # noqa: F401
Dict,
List,
Optional,
Set,
Set, # noqa: F401
Tuple,
Type,
Union,
overload,
overload, # noqa: F401
)

from pydantic import ValidationError, create_model
Expand All @@ -30,15 +30,15 @@
from .log import logger
from .rule import Rule, RuleLoadType
from .event import Event
from .typing import CoreHook, EventHook, EventT, RuleHook
from .typing import CoreHook, EventHook, EventT, RuleHook # noqa: F401
from .utils import (
ModulePathFinder,
get_classes_from_module_name,
is_config_class,
samefile,
wrap_get_func,
wrap_get_func, # noqa: F401
)
from .exceptions import StopException, SkipException, GetEventTimeout, LoadModuleError
from .exceptions import StopException, SkipException, GetEventTimeout, LoadModuleError # noqa: F401


if sys.version_info >= (3, 11): # pragma: no cover
Expand Down

0 comments on commit 71880e5

Please sign in to comment.