Skip to content

Allow deletion of frozen fields#13

Open
Glinte wants to merge 1 commit into
mainfrom
codex/implement-__delete__-for-frozenfield
Open

Allow deletion of frozen fields#13
Glinte wants to merge 1 commit into
mainfrom
codex/implement-__delete__-for-frozenfield

Conversation

@Glinte

@Glinte Glinte commented Aug 8, 2025

Copy link
Copy Markdown
Owner

Summary

  • support deleting frozen fields by implementing FrozenField.__delete__
  • test that removing a frozen field raises AttributeError on later access

Testing

  • python -m ruff check semimutable/__init__.py tests/test_semimutable_dataclass.py
  • python -m ruff format semimutable/__init__.py tests/test_semimutable_dataclass.py
  • pytest

https://chatgpt.com/codex/tasks/task_e_68958e5da25883229d6b1884b08b4ffd

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
semimutable/__init__.py 80.00% 2 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Files with missing lines Coverage Δ
semimutable/__init__.py 85.50% <80.00%> (-0.44%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants