Skip to content

docs: FT185 contextlib フィールドトライアルレポートを追加#519

Merged
hideyukiMORI merged 1 commit into
mainfrom
docs/issue-ft185-contextlib
May 21, 2026
Merged

docs: FT185 contextlib フィールドトライアルレポートを追加#519
hideyukiMORI merged 1 commit into
mainfrom
docs/issue-ft185-contextlib

Conversation

@hideyukiMORI
Copy link
Copy Markdown
Owner

Summary

  • FT185: contextlib モジュール — コンテキストマネージャー・リソース管理・エラー抑制の実装と検証
  • 50 テスト全通過(pytest / mypy --strict / ruff / pip-audit)
  • バージョン: v1.8.55 → v1.8.56

検証内容

  • @contextmanagersuppressExitStackclosingnullcontext
  • ContextDecoratorAbstractContextManagerredirect_stdout/stderr
  • contextlib.chdir (Python 3.11+)

Findings

  • F-1: __exit__ 戻り値型は bool 不可 → Literal[False] が必要(mypy --strict)

Test plan

  • pytest: 50 tests passed
  • mypy --strict: Success
  • ruff check: All checks passed
  • ruff format: clean
  • pip-audit: PYSEC-2025-183 (PyJWT via mcp transitive dep, tolerated)

🤖 Generated with Claude Code

@hideyukiMORI hideyukiMORI merged commit 658cb08 into main May 21, 2026
2 checks passed
@hideyukiMORI hideyukiMORI deleted the docs/issue-ft185-contextlib branch May 21, 2026 09:39
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