You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: overloads, WeightingFilter multichannel zi, version sync & SonarCloud CI (#45)
* fix: complete overloads, WeightingFilter multichannel zi, version sync
- Add missing calculate_level=True overloads so mypy resolves explicit
calculate_level=True calls correctly (4 clean overloads covering all
sigbands × calculate_level combinations)
- Fix WeightingFilter multichannel zi bug: lazy allocation deferred to
filter() so channel dimension matches actual input shape (same pattern
as OctaveFilterBank)
- Sync __version__ from '1.1.2' to '1.1.4' to match pyproject.toml
- Update WeightingFilter tests for lazy init + add multichannel test
* fix(ci): pin sonarcloud action to v7 and use standard GITHUB_TOKEN
- Change SonarSource/sonarqube-scan-action@master to @v7 (stable)
- Replace secrets.TOKEN_GH with secrets.GITHUB_TOKEN (auto-available)
* fix: WeightingFilter multichannel→1D zi transition & SonarCloud coverage paths
- Fix needs_init to handle all ndim transitions (1D↔2D) in WeightingFilter
- Add [tool.coverage.run] relative_files=true so coverage.xml uses relative
source paths matching sonar.sources=src
- Add test_weighting_filter_multichannel_to_mono_transition test
* fix: reduce WeightingFilter.filter() cognitive complexity and fix CI coverage
- Extract _init_filter_state() and _needs_zi_reinit() helpers from filter()
to reduce Cognitive Complexity from 26 to ~5 (SonarCloud max: 15)
- Change pip install to editable mode (-e) so coverage can trace src/ code
(fixes 'No data was collected' warning and 0% new_coverage in SonarCloud)
0 commit comments