Commit 68cc028
committed
AGENTS.md(docs[imports]): Add dataclasses exception to namespace import rule
why: The @DataClass decorator and field() are more readable with direct
imports than using dataclasses.dataclass decorator syntax.
what:
- Add exception for dataclasses module to allow from-imports
- Clarifies that dataclass, field can use direct import style1 parent b072cff commit 68cc028
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
| |||
0 commit comments