Skip to content

Package as installable retruco, fix sort bug, add ruff + CI - #1

Merged
qequ merged 3 commits into
mainfrom
packaging-and-sort-fix
Jun 20, 2026
Merged

Package as installable retruco, fix sort bug, add ruff + CI#1
qequ merged 3 commits into
mainfrom
packaging-and-sort-fix

Conversation

@qequ

@qequ qequ commented Jun 20, 2026

Copy link
Copy Markdown
Owner
  • Fix README sort example: MENOR O IGUAL -> MENOR (equal-valued cards caused an infinite loop ping-ponging between INPUT and TMPSTACK).
  • Restructure src/ into an installable retruco package with a retruco console entry point and python -m retruco support.
  • Add pyproject.toml (Poetry) + poetry.lock; bundle grammar.txt and logo.
  • Add ruff config and fix all 227 lint findings.
  • Add GitHub Actions: ci.yml (ruff + tests) and release.yml (build + publish artifacts on v* tags).
  • Add example programs under examples/ and move tests to tests/.

qequ added 2 commits June 20, 2026 18:46
- Fix README sort example: MENOR O IGUAL -> MENOR (equal-valued cards
  caused an infinite loop ping-ponging between INPUT and TMPSTACK).
- Restructure src/ into an installable `retruco` package with a
  `retruco` console entry point and `python -m retruco` support.
- Add pyproject.toml (Poetry) + poetry.lock; bundle grammar.txt and logo.
- Add ruff config and fix all 227 lint findings.
- Add GitHub Actions: ci.yml (ruff + tests) and release.yml (build +
  publish artifacts on v* tags).
- Add example programs under examples/ and move tests to tests/.

Signed-off-by: Alvaro Frias <alvarofriasgaray@gmail.com>
Signed-off-by: Alvaro Frias <alvarofriasgaray@gmail.com>
@qequ
qequ force-pushed the packaging-and-sort-fix branch from 913c3cf to 6712cf0 Compare June 20, 2026 21:48
Signed-off-by: Alvaro Frias <alvarofriasgaray@gmail.com>
@qequ
qequ force-pushed the packaging-and-sort-fix branch from 95f0224 to a1a5e61 Compare June 20, 2026 22:07
@qequ
qequ merged commit 709e1a7 into main Jun 20, 2026
5 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