847 B
847 B
| paths | ||
|---|---|---|
|
Imports rule
from __future__ import annotationsis the first import in every module.- Import order (ruff
Ienforces,make formatfixes): stdlib → third-party → first-party (everalgo, theneveros). One group per blank-line-separated block. - Absolute imports for cross-package references (
from everos.memory import ...). Relative imports (from .models import ...) only within a package, typically in its__init__.py. TYPE_CHECKINGguard for import cycles and type-only imports:from typing import TYPE_CHECKING if TYPE_CHECKING: from everos.config import Settings- Never import a private internal across a package boundary — respect the
import-lintercontracts (see architecture.md).