Skip to content

[codex] Use pyrecest.backend copy alias#1884

Merged
FlorianPfaff merged 7 commits intomainfrom
codex/use-pyrecest-copy
Apr 26, 2026
Merged

[codex] Use pyrecest.backend copy alias#1884
FlorianPfaff merged 7 commits intomainfrom
codex/use-pyrecest-copy

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

@FlorianPfaff FlorianPfaff commented Apr 26, 2026

Summary

  • alias pyrecest.backend.copy as backend_copy in _ukf.py to avoid shadowing the standard-library deepcopy
  • keep multi_hypothesis_tracker.py on standard-library deepcopy, since it deep-copies filter objects rather than backend arrays
  • remove the stale from pyrecest import copy usage that caused mypy/pylint import errors

Validation

  • Verified through the GitHub connector that the PR diff is now limited to src/pyrecest/filters/_ukf.py.
  • Did not run the test suite locally because this projectless workspace does not have a checkout of the repository.

@FlorianPfaff FlorianPfaff marked this pull request as ready for review April 26, 2026 04:46
@github-actions
Copy link
Copy Markdown
Contributor

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 492d03d.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 26, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 13.16s
✅ JSON prettier 2 0 0 0 0.68s
✅ JSON v8r 2 0 0 2.66s
✅ MARKDOWN markdownlint 2 0 0 0 0.64s
✅ MARKDOWN markdown-table-formatter 2 0 0 0 0.27s
✅ PYTHON bandit 413 0 0 6.48s
✅ PYTHON black 413 6 0 0 10.03s
✅ PYTHON flake8 413 0 0 3.59s
✅ PYTHON isort 413 7 0 0 0.78s
✅ PYTHON mypy 413 0 0 5.44s
✅ PYTHON pylint 413 0 0 123.12s
✅ PYTHON ruff 413 7 0 0 0.08s
✅ REPOSITORY checkov yes no no 21.94s
✅ REPOSITORY gitleaks yes no no 8.17s
✅ REPOSITORY git_diff yes no no 0.07s
✅ REPOSITORY secretlint yes no no 7.61s
✅ REPOSITORY syft yes no no 4.66s
✅ REPOSITORY trivy-sbom yes no no 3.76s
✅ REPOSITORY trufflehog yes no no 19.28s
✅ YAML prettier 4 0 0 0 0.48s
✅ YAML v8r 4 0 0 5.42s
✅ YAML yamllint 4 0 0 0.42s

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_BANDIT,PYTHON_MYPY,PYTHON_RUFF,COPYPASTE_JSCPD,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@FlorianPfaff FlorianPfaff changed the title [codex] Use pyrecest copy import [codex] Use pyrecest.backend copy alias Apr 26, 2026
@FlorianPfaff FlorianPfaff enabled auto-merge (squash) April 26, 2026 04:58
@FlorianPfaff FlorianPfaff merged commit fe21544 into main Apr 26, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant