Add python syntax check (#8651)
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Syntax Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled

* Add python syntax check

* Fix some python regression algorithms

* Fixing more bugs
This commit is contained in:
Martin-Molinero
2025-03-28 10:36:26 -03:00
committed by GitHub
parent 581e87809b
commit 513ced31d7
155 changed files with 667 additions and 587 deletions
@@ -38,11 +38,11 @@ class CustomDataPropertiesRegressionAlgorithm(QCAlgorithm):
# Verify our symbol properties were changed and loaded into this security
if self.bitcoin.symbol_properties != properties :
raise Exception("Failed to set and retrieve custom SymbolProperties for BTC")
raise AssertionError("Failed to set and retrieve custom SymbolProperties for BTC")
# Verify our exchange hours were changed and loaded into this security
if self.bitcoin.exchange.hours != exchange_hours :
raise Exception("Failed to set and retrieve custom ExchangeHours for BTC")
raise AssertionError("Failed to set and retrieve custom ExchangeHours for BTC")
# For regression purposes on AddData overloads, this call is simply to ensure Lean can accept this
# with default params and is not routed to a breaking function.