Skip to content

Potential fix for 1 code quality finding#14

Merged
tbjers merged 1 commit into
mainfrom
ai-findings-autofix/tests-test_shaker.py
Jun 7, 2026
Merged

Potential fix for 1 code quality finding#14
tbjers merged 1 commit into
mainfrom
ai-findings-autofix/tests-test_shaker.py

Conversation

@tbjers

@tbjers tbjers commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This PR applies 1/3 suggestions from code quality AI findings. 2 suggestions were skipped to avoid creating conflicts.

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@tbjers tbjers marked this pull request as ready for review June 7, 2026 00:46
@codecov

codecov Bot commented Jun 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.59%. Comparing base (5701737) to head (868d950).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   99.59%   99.59%           
=======================================
  Files           6        6           
  Lines         244      244           
  Branches       53       53           
=======================================
  Hits          243      243           
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tbjers tbjers merged commit 88d4533 into main Jun 7, 2026
9 checks passed
@tbjers tbjers deleted the ai-findings-autofix/tests-test_shaker.py branch June 7, 2026 00:46
tbjers added a commit that referenced this pull request Jun 7, 2026
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
tbjers added a commit that referenced this pull request Jun 7, 2026
* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix corrupted test_shaker.py from bad Copilot Autofix patches

Remove duplicate `def parse` header that caused an IndentationError
(breaking all 23 tests), duplicate `from typing import Any` import,
and duplicate `assert "cube" in names` assertion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Potential fixes for 2 code quality findings (#13)

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix corrupted test_shaker.py from bad Copilot Autofix patches

Remove duplicate `def parse` header that caused an IndentationError
(breaking all 23 tests), duplicate `from typing import Any` import,
and duplicate `assert "cube" in names` assertion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix (#14)

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix docstring module reference and redundant assertion in test_shaker.py

Correct _add_to_pool module reference from openscad_packer.shaker to
openscad_packer.packer, remove the redundant assert that was fully
subsumed by the equality check, and clarify why the result is empty.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
tbjers added a commit that referenced this pull request Jun 7, 2026
* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix corrupted test_shaker.py from bad Copilot Autofix patches

Remove duplicate `def parse` header that caused an IndentationError
(breaking all 23 tests), duplicate `from typing import Any` import,
and duplicate `assert "cube" in names` assertion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Potential fixes for 2 code quality findings (#13)

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix corrupted test_shaker.py from bad Copilot Autofix patches

Remove duplicate `def parse` header that caused an IndentationError
(breaking all 23 tests), duplicate `from typing import Any` import,
and duplicate `assert "cube" in names` assertion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix (#14)

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix docstring module reference and redundant assertion in test_shaker.py

Correct _add_to_pool module reference from openscad_packer.shaker to
openscad_packer.packer, remove the redundant assert that was fully
subsumed by the equality check, and clarify why the result is empty.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Potential fixes for 2 code quality findings (#13)

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix corrupted test_shaker.py from bad Copilot Autofix patches

Remove duplicate `def parse` header that caused an IndentationError
(breaking all 23 tests), duplicate `from typing import Any` import,
and duplicate `assert "cube" in names` assertion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix corrupted test_shaker.py from bad Copilot Autofix patches

Remove duplicate `def parse` header that caused an IndentationError
(breaking all 23 tests), duplicate `from typing import Any` import,
and duplicate `assert "cube" in names` assertion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Potential fixes for 2 code quality findings (#13)

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix corrupted test_shaker.py from bad Copilot Autofix patches

Remove duplicate `def parse` header that caused an IndentationError
(breaking all 23 tests), duplicate `from typing import Any` import,
and duplicate `assert "cube" in names` assertion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* Potential fixes for 2 code quality findings (#13)

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Fix corrupted test_shaker.py from bad Copilot Autofix patches

Remove duplicate `def parse` header that caused an IndentationError
(breaking all 23 tests), duplicate `from typing import Any` import,
and duplicate `assert "cube" in names` assertion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to tests/test_shaker.py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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