We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e63ebc7 commit f777d1bCopy full SHA for f777d1b
AGENTS.md
@@ -126,8 +126,7 @@ Example format:
126
127
### Imports
128
129
-**For standard library modules:**
130
-- Use namespace imports: `import enum` instead of `from enum import Enum`
+- Use namespace imports for stdlib: `import enum` instead of `from enum import Enum`; third-party packages may use `from X import Y`
131
- For typing, use `import typing as t` and access via namespace: `t.NamedTuple`, etc.
132
133
**For third-party packages:** Use idiomatic import styles for each library (e.g., `from pygments.token import Token` is fine).
0 commit comments