mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-18 23:03:06 +08:00
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>
43 lines
880 B
Markdown
43 lines
880 B
Markdown
---
|
|
paths:
|
|
- "**/*.py"
|
|
- "**/*.pyi"
|
|
---
|
|
# Python コーディングスタイル
|
|
|
|
> このファイルは [common/coding-style.md](../common/coding-style.md) を Python 固有のコンテンツで拡張します。
|
|
|
|
## 標準
|
|
|
|
- **PEP 8** 規約に従う
|
|
- すべての関数シグネチャに**型アノテーション**を使用する
|
|
|
|
## 不変性
|
|
|
|
不変データ構造を優先する:
|
|
|
|
```python
|
|
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 のイディオムとパターンを参照してください。
|