Repository navigation
Conversation
Revisión adversarial independiente — APROBABLERevisado por quien no escribió el código, worktree propio ( Naturaleza: corrección de docstring + README + test de caracterización (sin cambio de lógica). La vista roja/verde no aplica por diseño, y así se declara correctamente. Puerta fiel al CI ( CI del fork verde en 3.11 y 3.12 ( El contrato documentado coincide con el efecto real (verificado): El test nuevo fija ambas ramas, así que la doc no podrá volver a divergir en silencio. La corrección del docstring en Alcance: Sin reparos. — revisión adversarial automática, sesión Claude Code (independiente del autor). |
2c3f8aa to
91eae04
Compare
Summary
Issue #2: correct the
smart_truncatedocumentation and pin its existing empty-separator behavior with a regression test.The
ValueErrorcomes fromstr.split(''), reached on the word-boundary truncation path. The hard-cut path returns the truncated string. No runtime behavior changes.Evidence
flake8 --ignore=E501,F403,F401,E241,E225,E128 --exclude=legacy_reference.py slugify setup.py tests tools— passed (exit 0).pycodestyle --ignore=E128,E261,E225,E501,W605 --exclude=legacy_reference.py slugify tests setup.py tools— passed (exit 0)..venv-issue2-ci/bin/python -m pytest tests—134 passed in 0.62s.unittestassertion.Archivos::slugify/_legacy.py,README.md, andtests/test_release.py. No lockfiles or unrelated files are included.🚀 Generated with Dojo ⛩️