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
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:
@@ -37,7 +37,7 @@ class PEP8StyleBasicAlgorithm(QCAlgorithm):
|
||||
self.log("Algorithm ended!")
|
||||
|
||||
if not self.portfolio.invested:
|
||||
raise Exception("Algorithm should have been invested at the end of the algorithm")
|
||||
raise AssertionError("Algorithm should have been invested at the end of the algorithm")
|
||||
|
||||
# let's do some logging to do more pep8 style testing
|
||||
self.log("-----------------------------------------------------------------------------------------")
|
||||
|
||||
Reference in New Issue
Block a user