More Python syntax check improvements (#8758)
Syntax Tests / 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
Python Virtual Environments / build (push) Has been cancelled
Syntax Tests / 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
Python Virtual Environments / build (push) Has been cancelled
* Ignore more mypy errors and fix more python algos syntax * Minor change
This commit is contained in:
@@ -13,10 +13,6 @@
|
||||
|
||||
from AlgorithmImports import *
|
||||
|
||||
from System import Action
|
||||
|
||||
from QuantConnect.Logging import *
|
||||
|
||||
### <summary>
|
||||
### Algorithm asserting that when setting custom models for canonical securities, a one-time warning is sent
|
||||
### informing the user that the contracts models are different (not the custom ones).
|
||||
@@ -52,7 +48,7 @@ class OptionModelsConsistencyRegressionAlgorithm(QCAlgorithm):
|
||||
security.set_volatility_model(CustomVolatilityModel())
|
||||
|
||||
class CustomSecurityInitializer(BrokerageModelSecurityInitializer):
|
||||
def __init__(self, brokerage_model: BrokerageModel, security_seeder: SecuritySeeder):
|
||||
def __init__(self, brokerage_model: IBrokerageModel, security_seeder: ISecuritySeeder):
|
||||
super().__init__(brokerage_model, security_seeder)
|
||||
|
||||
class CustomFillModel(FillModel):
|
||||
|
||||
Reference in New Issue
Block a user