Further bandid noqa's

This commit is contained in:
Matthias 2024-06-08 09:27:40 +02:00
parent 50e4d273f4
commit 2f83ff73e2
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ def get_strategy_run_id(strategy) -> str:
:param strategy: strategy object.
:return: hex string id.
"""
digest = hashlib.sha1()
digest = hashlib.sha1() # noqa: S324
config = deepcopy(strategy.config)
# Options that have no impact on results of individual backtest.

View File

@ -39,7 +39,7 @@ class ShuffleFilter(IPairList):
self._seed = pairlistconfig.get("seed")
logger.info(f"Backtesting mode detected, applying seed value: {self._seed}")
self._random = random.Random(self._seed)
self._random = random.Random(self._seed) # noqa: S311
self._shuffle_freq: ShuffleValues = pairlistconfig.get("shuffle_frequency", "candle")
self.__pairlist_cache = PeriodicCache(
maxsize=1000, ttl=timeframe_to_seconds(self._config["timeframe"])