From 0f878daa9862b777db7e5135c59b39d426382400 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 22 Feb 2023 19:56:27 +0100 Subject: [PATCH] Remove some too generic noqa statements --- freqtrade/leverage/__init__.py | 3 +-- freqtrade/mixins/__init__.py | 3 +-- freqtrade/optimize/space/__init__.py | 5 ++--- freqtrade/rpc/__init__.py | 5 ++--- freqtrade/rpc/api_server/__init__.py | 3 +-- freqtrade/rpc/api_server/ws/__init__.py | 11 +++++------ freqtrade/util/__init__.py | 5 ++--- 7 files changed, 14 insertions(+), 21 deletions(-) diff --git a/freqtrade/leverage/__init__.py b/freqtrade/leverage/__init__.py index ae78f4722..d4526dbec 100644 --- a/freqtrade/leverage/__init__.py +++ b/freqtrade/leverage/__init__.py @@ -1,2 +1 @@ -# flake8: noqa: F401 -from freqtrade.leverage.interest import interest +from freqtrade.leverage.interest import interest # noqa: F401 diff --git a/freqtrade/mixins/__init__.py b/freqtrade/mixins/__init__.py index f4a640fa3..c5363c076 100644 --- a/freqtrade/mixins/__init__.py +++ b/freqtrade/mixins/__init__.py @@ -1,2 +1 @@ -# flake8: noqa: F401 -from freqtrade.mixins.logging_mixin import LoggingMixin +from freqtrade.mixins.logging_mixin import LoggingMixin # noqa: F401 diff --git a/freqtrade/optimize/space/__init__.py b/freqtrade/optimize/space/__init__.py index bbdac4ab9..6c59a4d8f 100644 --- a/freqtrade/optimize/space/__init__.py +++ b/freqtrade/optimize/space/__init__.py @@ -1,4 +1,3 @@ -# flake8: noqa: F401 -from skopt.space import Categorical, Dimension, Integer, Real +from skopt.space import Categorical, Dimension, Integer, Real # noqa: F401 -from .decimalspace import SKDecimal +from .decimalspace import SKDecimal # noqa: F401 diff --git a/freqtrade/rpc/__init__.py b/freqtrade/rpc/__init__.py index 957565e2c..07f83abc0 100644 --- a/freqtrade/rpc/__init__.py +++ b/freqtrade/rpc/__init__.py @@ -1,3 +1,2 @@ -# flake8: noqa: F401 -from .rpc import RPC, RPCException, RPCHandler -from .rpc_manager import RPCManager +from .rpc import RPC, RPCException, RPCHandler # noqa: F401 +from .rpc_manager import RPCManager # noqa: F401 diff --git a/freqtrade/rpc/api_server/__init__.py b/freqtrade/rpc/api_server/__init__.py index df255c186..b2ed3e6e0 100644 --- a/freqtrade/rpc/api_server/__init__.py +++ b/freqtrade/rpc/api_server/__init__.py @@ -1,2 +1 @@ -# flake8: noqa: F401 -from .webserver import ApiServer +from .webserver import ApiServer # noqa: F401 diff --git a/freqtrade/rpc/api_server/ws/__init__.py b/freqtrade/rpc/api_server/ws/__init__.py index 0b94d3fee..b76428119 100644 --- a/freqtrade/rpc/api_server/ws/__init__.py +++ b/freqtrade/rpc/api_server/ws/__init__.py @@ -1,7 +1,6 @@ -# flake8: noqa: F401 # isort: off -from freqtrade.rpc.api_server.ws.types import WebSocketType -from freqtrade.rpc.api_server.ws.proxy import WebSocketProxy -from freqtrade.rpc.api_server.ws.serializer import HybridJSONWebSocketSerializer -from freqtrade.rpc.api_server.ws.channel import WebSocketChannel -from freqtrade.rpc.api_server.ws.message_stream import MessageStream +from freqtrade.rpc.api_server.ws.types import WebSocketType # noqa: F401 +from freqtrade.rpc.api_server.ws.proxy import WebSocketProxy # noqa: F401 +from freqtrade.rpc.api_server.ws.serializer import HybridJSONWebSocketSerializer # noqa: F401 +from freqtrade.rpc.api_server.ws.channel import WebSocketChannel # noqa: F401 +from freqtrade.rpc.api_server.ws.message_stream import MessageStream # noqa: F401 diff --git a/freqtrade/util/__init__.py b/freqtrade/util/__init__.py index 7980b7ca2..3c3c034c1 100644 --- a/freqtrade/util/__init__.py +++ b/freqtrade/util/__init__.py @@ -1,3 +1,2 @@ -# flake8: noqa: F401 -from freqtrade.util.ft_precise import FtPrecise -from freqtrade.util.periodic_cache import PeriodicCache +from freqtrade.util.ft_precise import FtPrecise # noqa: F401 +from freqtrade.util.periodic_cache import PeriodicCache # noqa: F401