Enable PIE in flake8 and ruff

This commit is contained in:
Alexander Hess 2026-11-30 23:40:15 +01:00
commit e612e33f59
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
2 changed files with 24 additions and 2 deletions

View file

@ -48,7 +48,7 @@ def predict(
frequency=frequency,
)
seasonal = "TRUE" if bool(seasonal_fit) else "FALSE"
seasonal = "TRUE" if seasonal_fit else "FALSE"
n_steps_ahead = len(forecast_interval)
# Make the predictions in R.

View file

@ -49,7 +49,7 @@ def predict(
frequency=frequency,
)
model = "ZZZ" if bool(seasonal_fit) else "ZZN"
model = "ZZZ" if seasonal_fit else "ZZN"
n_steps_ahead = len(forecast_interval)
# Make the predictions in R.