mirror of
https://ghfast.top/https://github.com/aeroxw/easy-tdx.git
synced 2026-09-12 16:54:17 +08:00
fix(backtest): resolve mypy and ruff lint issues
- dsl.py: use NDArray type annotations, fix None narrowing - cli.py: add type annotations, fix import sorting - strategy.py: fix UP038 isinstance, add noqa for I() method name - tests: fix E712 bool comparison assertions Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
fc0777533e
commit
04c2be1d7f
@@ -72,7 +72,11 @@
|
||||
"Bash(gh auth *)",
|
||||
"Bash(rm -rf easy_tdx.wiki)",
|
||||
"Bash(gh repo *)",
|
||||
"Bash(gh api *)"
|
||||
"Bash(gh api *)",
|
||||
"Bash(mypy src/easy_tdx/backtest/types.py)",
|
||||
"Bash(mypy tests/unit/test_backtest_types.py)",
|
||||
"Bash(mypy src/easy_tdx/backtest/types.py tests/unit/test_backtest_types.py)",
|
||||
"Bash(mypy *)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user