Skip to content

chore: remove unused private container code - #703

Merged
frostming merged 1 commit into
python-poetry:masterfrom
duriantaco:chore/remove-unused-code
Nov 6, 2026
Merged

frostming merged 1 commit into
python-poetry:masterfrom
duriantaco:chore/remove-unused-code

Conversation

@duriantaco

Copy link
Copy Markdown
Contributor

Summary

Doing some code cleaning

Changes

  • Removed _NOT_SET from tomlkit/container.py
  • Removed Container._insert_after
  • No uses found in the code, tests or docs

Testing

  • ruff check tomlkit/container.py
  • Test suite not ran

Duplicate Check

  • Searched the open prs and found nothing that fixes this issue.

Notes: Found with Skylos, a determinsitic tool. No AI was used in this PR. All scans were done with the tool above and checks were done manually with my own eyeballs

Remove _NOT_SET and Container._insert_after, identified with Skylos and checked for references in code, tests, and documentation.
@human-attestation

Copy link
Copy Markdown

🛡️ Human Attestation required. A human needs to confirm this PR once before it can merge.

Attest this PR — sign in with GitHub, pass the challenge, and confirm one of the statements.

@frostming
frostming merged commit 3cc03fe into python-poetry:master Nov 6, 2026
25 of 26 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.

2 participants