Skip to content

fix: rename tests/unit/__init.py + bump to 0.6.6#94

Merged
qjrm1430 merged 2 commits into
mainfrom
fix/init
May 27, 2026
Merged

fix: rename tests/unit/__init.py + bump to 0.6.6#94
qjrm1430 merged 2 commits into
mainfrom
fix/init

Conversation

@qjrm1430
Copy link
Copy Markdown
Member

🚀 PR Type

  • 🎯 Ready for Reviewuv run pytest -q passes (14 tests).

📝 Summary

act_operator/act_operator/tests/unit/__init.py 파일명 오타 수정 (__init__.py) + 패키지 버전 0.6.50.6.6 bump.

📄 Description

1. __init.py__init__.py 리네임 (tests/unit/)

PR #93에서 스캐폴드의 tests/node_tests/__init.py 오타를 수정했는데, act_operator 패키지 본체의 테스트 트리에도 동일한 오타가 있었음:

  • 실제: act_operator/act_operator/tests/unit/__init.py (밑줄 1개)
  • 정상: act_operator/act_operator/tests/unit/__init__.py (밑줄 2개)

이 오타는 strict module discovery에서 Python이 디렉토리를 패키지로 인식하지 못하게 만들며, pyright/mypy strict 모드, 일부 coverage 설정에서 트리 walk 시 문제를 일으킬 수 있음.

2. 버전 bump 0.6.50.6.6

act_operator/__init__.py__version__ 갱신. pyproject.toml에서 [tool.hatch.version]가 이 파일을 source-of-truth로 참조하므로 단일 파일 변경으로 빌드 시 자동 반영됨.

이 버전에는 다음이 포함됨:

  • 이번 PR의 __init__.py 리네임
  • #93에서 머지된 스캐폴드 fix 6건 (테스트 어설션 정합, pytest-asyncio 설정, language 일관성 등)

✅ Quality Checks

  • uv run pytest -q14 passed in 3.47s
  • uv run ruff check . → All checks passed (변경된 파일은 빈 파일 rename + 버전 문자열 1줄 변경)

💪 Ownership

  • Hand-raise: 0.6.6 릴리즈를 사용하는 사용자의 first-run 영향 관찰

💡 Notes

  • __init__.py 두 파일이라 git이 rename으로 정확히 인식 (rename similarity 100%)
  • 이전에 #93에서 수정한 것은 스캐폴드 템플릿(scaffold/.../tests/node_tests/)이고, 이 PR은 act-operator 패키지 본체(act_operator/act_operator/tests/unit/)임 — 두 위치는 독립

🔗 Related Issue(s)

Related: #93 (scaffold side of the same typo)

🤖 Generated with Claude Code

qjrm1430 and others added 2 commits May 27, 2026 11:14
Same filename typo as the scaffold one fixed in #93, but in the
act_operator package's own test tree. The single-underscore suffix
prevented Python from recognising the directory as a package under
strict module discovery, which can break tooling that walks the
package tree (mypy/pyright in strict mode, some coverage configs).

Verified with `uv run pytest -q`: 14 passed in 3.47s.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Includes the test-package rename (#__init__.py fix) so downstream
users picking up 0.6.6 get the proper Python package layout.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the version of the act_operator package from 0.6.5 to 0.6.6. There are no review comments, and I have no feedback to provide.

@qjrm1430 qjrm1430 merged commit 9321cb7 into main May 27, 2026
3 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