Fix typos discovered by codespell

This commit is contained in:
Christian Clauss
2024-04-18 22:51:25 +02:00
parent 298f9b225d
commit 99b4767bf4
59 changed files with 93 additions and 93 deletions

View File

@@ -125,7 +125,7 @@ def test_add_areas(default_conf, testdatadir, caplog):
assert fig == fig2
assert log_has_re(r'Indicator "no_indicator" ignored\..*', caplog)
# everythin given in plot config, row 3
# everything given in plot config, row 3
fig3 = add_areas(fig, 3, data, indicators)
figure = fig3.layout.figure
fill_macd = find_trace_in_fig_data(figure.data, "MACD Fill")
@@ -495,7 +495,7 @@ def test_plot_profit(default_conf, mocker, testdatadir):
# no main_plot, adds empty main_plot
([], [], {'subplots': {'RSI': {'rsi': {'color': 'red'}}}},
{'main_plot': {}, 'subplots': {'RSI': {'rsi': {'color': 'red'}}}}),
# indicator 1 / 2 should have prevelance
# indicator 1 / 2 should have prevalence
(['sma', 'ema3'], ['macd'],
{'main_plot': {'sma': {}}, 'subplots': {'RSI': {'rsi': {'color': 'red'}}}},
{'main_plot': {'sma': {}, 'ema3': {}}, 'subplots': {'Other': {'macd': {}}}}