Files
everything-claude-code/docs/ja-JP/rules/python/coding-style.md
Claude ec9ace9c54 docs: add native Japanese translation of ECC documentation (ja-JP)
Translate everything-claude-code repository to Japanese including:
- 17 root documentation files
- 60 agent documentation files
- 80 command documentation files
- 99 rule files across 18 language directories (common, angular, arkts, cpp, csharp, dart, fsharp, golang, java, kotlin, perl, php, python, ruby, rust, swift, typescript, web)
- 199 skill documentation files

Total: 455 files translated to Japanese with:
- Consistent terminology glossary applied throughout
- YAML field names preserved in English (name, description, etc.)
- Code blocks and examples untouched (comments translated)
- Markdown structure and relative links preserved
- Professional translation maintaining technical accuracy

This translation expands ECC accessibility to Japanese-speaking developers and teams.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-05-17 02:31:40 -04:00

880 B

paths
paths
**/*.py
**/*.pyi

Python コーディングスタイル

このファイルは common/coding-style.md を Python 固有のコンテンツで拡張します。

標準

  • PEP 8 規約に従う
  • すべての関数シグネチャに型アノテーションを使用する

不変性

不変データ構造を優先する:

from dataclasses import dataclass

@dataclass(frozen=True)
class User:
    name: str
    email: str

from typing import NamedTuple

class Point(NamedTuple):
    x: float
    y: float

フォーマット

  • black — コードフォーマット
  • isort — インポートの並べ替え
  • ruff — リンティング

リファレンス

スキル: python-patterns で包括的な Python のイディオムとパターンを参照してください。