Skip to content

Commit

Permalink
style: format code with Autopep8, Black, ClangFormat, dotnet-format, …
Browse files Browse the repository at this point in the history
…Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf

This commit fixes the style issues introduced in e5ad210 according to the output
from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java
Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt,
Scalafmt, StandardJS, StandardRB, swift-format and Yapf.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored May 11, 2024
1 parent e5ad210 commit 3a6c6c5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions market_conditions_analysis/market_conditions_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@ def __init__(self, data_preparation, time_series_analysis):
self.data_preparation = data_preparation
self.time_series_analysis = time_series_analysis

def analyze_market_conditions(self, data_file, target_column, exogenous_variables, num_periods):
def analyze_market_conditions(
self, data_file, target_column, exogenous_variables, num_periods
):
"""
Analyzes market conditions using the time series analysis model.
"""
data = self.data_preparation.prepare_data(data_file)

model_fit = self.time_series_analysis.fit_model(data, target_column, exogenous_variables)
market_trends = self.time_series_analysis.predict_market_trends(data, target_column, exogenous_variables, num_periods)
model_fit = self.time_series_analysis.fit_model(
data, target_column, exogenous_variables
)
market_trends = self.time_series_analysis.predict_market_trends(
data, target_column, exogenous_variables, num_periods
)

return market_trends

0 comments on commit 3a6c6c5

Please sign in to comment.