Skip to content

Adopt python-project-template via Copier - #198

Merged
ahcodedev merged 5 commits into
mainfrom
adopt-copier-template
Nov 19, 2026
Merged

ahcodedev merged 5 commits into
mainfrom
adopt-copier-template

Conversation

@ahcodedev

@ahcodedev ahcodedev commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Generate project tooling from python-project-template and record answers in .copier-answers.yml, so later template changes come in with copier update
  • Keep project-specific README content, dependencies, and settings; drop the docs site and release workflows, which this project doesn't use
  • Fix the errors raised by the template's expanded ruff rule set and by ty; magic-value comparisons that are part of a problem's definition get a per-line noqa: PLR2004
  • Fix bugs surfaced by the new checks: SinglyLinkedList.insert now raises IndexError for out-of-bounds indexes, and largest_number_at_least_twice_of_others returns -1 for an empty list instead of None
  • Swap example strings that typos kept rewriting (i12iz4n, ba in the trie diagrams) for ones it accepts

Related Issues

None

Checklist

  • just lint passes
  • just coverage passes
  • Tests added or updated for the change
  • README.md updated if needed

Generate the project tooling from ahcodedev/python-project-template v0.4.0 and record the answers in .copier-answers.yml so future template changes can be pulled in with copier update. Project-specific README content, dependencies, and settings are kept.

Rename Python.yml to python.yml to match the template and README badges.
The project has no releases, so drop the template's Release Drafter and release workflows, label sync script, and related docs.
The project has no releases, so drop the Zensical docs site. Replace CLAUDE.md.example with a gitignored CLAUDE.md and remove gitignore rules for tools the project doesn't use.
@ahcodedev
ahcodedev enabled auto-merge (squash) November 19, 2026 11:13
@ahcodedev
ahcodedev merged commit dd3a229 into main Nov 19, 2026
6 checks passed
@ahcodedev
ahcodedev deleted the adopt-copier-template branch November 19, 2026 11:15
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