Skip to content

Commit 2d87068

Browse files
committed
Fix flake8 warnings
1 parent 7c67bf1 commit 2d87068

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

pyindicators/indicators/crossover.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ def crossover(
2424
second_column: Name of the second column
2525
result_column (optional): Name of the column to
2626
store the crossover points
27-
number_of_data_points (optional): Number of recent rows to consider (optional)
27+
number_of_data_points (optional):
28+
Number of recent rows to consider (optional)
2829
strict (optional): If True, requires exact crossovers; otherwise,
2930
detects when one surpasses the other.
3031

pyindicators/indicators/crossunder.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,12 @@ def is_crossunder(
8686
data (Union[pd.DataFrame, pl.DataFrame]): The input data.
8787
first_column (str): The name of the first series.
8888
second_column (str): The name of the second series.
89-
crossunder_column (str) (optional): The name of the column to store the crossunder points.
90-
number_of_data_points (int) (optional): The number of data points to consider. Defaults to None.
91-
strict (bool) (optional): If True, requires a strict crossunder. Defaults to True.
89+
crossunder_column (str) (optional):
90+
The name of the column to store the crossunder points.
91+
number_of_data_points (int) (optional):
92+
The number of data points to consider. Defaults to None.
93+
strict (bool) (optional): If True, requires a strict
94+
crossunder. Defaults to True.
9295
9396
Returns:
9497
bool: True if a crossunder occurs, False otherwise.

0 commit comments

Comments
 (0)