refactor: things

This commit is contained in:
2026-03-06 17:17:59 +08:00
parent 8c6087683f
commit 33ab1a5d9d
171 changed files with 293 additions and 29894 deletions
@@ -0,0 +1,8 @@
## Depth Pooling Fixes
- Fixed `np.errstate` usage: `all_nan` is not a valid parameter for `errstate`. Changed to `invalid="ignore"`.
- Fixed `conf_stack` possibly unbound error by initializing it to `None` and checking it before use.
- Removed duplicated unreachable code block after the first `return`.
- Fixed implicit string concatenation warning in `ValueError` message.
- Updated type hints to modern Python style (`list[]`, `|`) and removed unused `typing` imports.
- Verified with `basedpyright` (0 errors).