Skip to content

Standardize Python toolchain and bump to v2.4.0#40

Merged
k0kishima merged 4 commits intomainfrom
chore/standardize-python-toolchain
Feb 12, 2026
Merged

Standardize Python toolchain and bump to v2.4.0#40
k0kishima merged 4 commits intomainfrom
chore/standardize-python-toolchain

Conversation

@k0kishima
Copy link
Member

Summary

  • Python >= 3.13 に更新
  • Black → Ruff (lint + format) に移行
  • pre-commit hooks を導入
  • dev 依存の定義を [dependency-groups] 形式 (PEP 735) に移行
  • CI を Python 3.13 + Ruff 対応に更新
  • バージョンを 2.4.0 にバンプ
  • GitHub Flow の採用を README に明記

Test plan

  • uv run ruff check . パス
  • uv run ruff format --check . パス
  • uv run mypy . パス
  • uv run pytest パス (73 tests)

🤖 Generated with Claude Code

k0kishima and others added 4 commits February 12, 2026 16:27
- Bump Python to >= 3.13
- Replace Black with Ruff (lint + format)
- Introduce pre-commit hooks
- Migrate dev deps from optional-dependencies to dependency-groups (PEP 735)
- Fix all ruff check errors (Optional → X | None, deprecated typing imports, etc.)
- Fix mypy "source file found twice" error

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Bump version 2.3.7 → 2.4.0
- publish.yml: use pyproject.toml for Python version, update setup-uv to v4
- lint.yml: add ruff check and ruff format --check steps

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pin python-version to 3.13 explicitly to prevent resolution to
Python 3.14 pre-release. Replace --all-extras flag with --dev
to match migration from optional-dependencies to dependency-groups.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@k0kishima k0kishima self-assigned this Feb 12, 2026
@k0kishima k0kishima merged commit f26dd04 into main Feb 12, 2026
2 checks passed
@k0kishima k0kishima deleted the chore/standardize-python-toolchain branch February 12, 2026 07:50
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