Improve python syntax check (#8744)
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 some errors in python syntax check.

Fix some algorithms syntax as well.

* Revert some changes

* Minor change

* Minor change

* Minor syntax check fixes

* Ignore more mypy errors

* Minor changes

* Ignore more mypy messages

* Ignore more mypy messages
This commit is contained in:
Jhonathan Abreu
2025-05-07 18:45:17 -04:00
committed by GitHub
parent dec831f361
commit 5f27689c53
9 changed files with 41 additions and 19 deletions
@@ -12,8 +12,6 @@
from AlgorithmImports import *
from datetime import datetime
### <summary>
### Regression algorithm demonstrating the use of custom data sourced from multiple "files" in the object store
### </summary>
@@ -80,7 +78,7 @@ class CustomDataMultiFileObjectStoreRegressionAlgorithm(QCAlgorithm):
raise AssertionError("History request returned different data than expected")
@staticmethod
def get_custom_data_key(date: datetime.date) -> str:
def get_custom_data_key(date: date) -> str:
return f"CustomData/ExampleCustomData{date.strftime('%Y%m%d')}"
class ExampleCustomData(PythonData):