fix(skeleton): PYTHONPATH 없이 skeleton 스크립트 실행 가능하도록 개선#723
Merged
Conversation
- bin/skeleton/cli.py, diff.py에 sys.path 자동 설정을 추가합니다 - bin/review-skeleton-diff.sh에서 PYTHONPATH=bin 접두사를 제거합니다 - tests/run-tests.sh에서 PYTHONPATH export를 제거합니다 - Skill 문서, docs/translation.md에서 실행 예시를 업데이트합니다 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PYTHONPATH=bin접두사 없이bin/skeleton/cli.py를 직접 실행할 수 있도록 개선합니다sys.path를 설정하여skeleton패키지를 찾습니다변경 내용
bin/skeleton/cli.py,bin/skeleton/diff.py: import 전에bin/디렉토리를sys.path에 자동 추가bin/review-skeleton-diff.sh:PYTHONPATH=bin접두사 제거tests/run-tests.sh:PYTHONPATHexport 제거.claude/skills/mdx-skeleton-comparison.md: 실행 예시에서PYTHONPATH=bin제거docs/translation.md: 실행 예시 업데이트Before / After
Test plan
bin/skeleton/cli.py --help— PYTHONPATH 없이 정상 실행 확인python -m pytest tests/test_mdx_to_skeleton.py -v— 58 passedtests/run-tests.sh --type skeleton— 18 passed, 0 failed🤖 Generated with Claude Code