You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ windows:
111
111
- Use ruff for formatting and linting
112
112
- Maintain strict mypy type checking
113
113
- Keep imports organized with future annotations at top
114
-
- **Prefer namespace imports**: Use `import enum` and `enum.Enum` instead of `from enum import Enum`
114
+
- **Prefer namespace imports for stdlib**: Use `import enum` and `enum.Enum` instead of `from enum import Enum`; third-party packages may use `from X import Y`
115
115
- **Type imports**: Use `import typing as t` and access via namespace (e.g., `t.Optional`)
116
116
- **Development workflow**: Format → Test → Commit → Lint/Type Check → Test → Final Commit
0 commit comments