chore: fix RUF043 violations

This commit is contained in:
Matthias
2025-09-15 19:20:20 +02:00
parent 95a710d4a8
commit 9f436dcd1e
15 changed files with 51 additions and 46 deletions

View File

@@ -988,7 +988,7 @@ def test_auto_hyperopt_interface_loadparams(default_conf, mocker, caplog):
}
mocker.patch("freqtrade.strategy.hyper.HyperoptTools.load_params", return_value=expected_result)
with pytest.raises(OperationalException, match="Invalid parameter file provided."):
with pytest.raises(OperationalException, match=r"Invalid parameter file provided\."):
StrategyResolver.load_strategy(default_conf)
mocker.patch(