mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-11 10:43:10 +08:00
docs: add Spanish (es) translation (#2095)
Adds a complete Spanish translation of the ECC documentation under docs/es/, mirroring the Turkish (docs/tr/) translation in scope. 141 files covering agents, commands, rules, skills, contexts, examples, and core docs. Updates root README.md with the Spanish language link. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
28b78dd7bf
commit
ac0f11c640
42
docs/es/rules/python/coding-style.md
Normal file
42
docs/es/rules/python/coding-style.md
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
paths:
|
||||
- "**/*.py"
|
||||
- "**/*.pyi"
|
||||
---
|
||||
# Estilo de Código en Python
|
||||
|
||||
> Este archivo extiende [common/coding-style.md](../common/coding-style.md) con contenido específico de Python.
|
||||
|
||||
## Estándares
|
||||
|
||||
- Seguir las convenciones de **PEP 8**
|
||||
- Usar **anotaciones de tipos** en todas las firmas de funciones
|
||||
|
||||
## Inmutabilidad
|
||||
|
||||
Preferir estructuras de datos inmutables:
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
## Formateo
|
||||
|
||||
- **black** para formateo de código
|
||||
- **isort** para ordenamiento de imports
|
||||
- **ruff** para linting
|
||||
|
||||
## Referencia
|
||||
|
||||
Ver skill: `python-patterns` para idiomas y patrones completos de Python.
|
||||
Reference in New Issue
Block a user