Commit ffe3814
committed
ai(rules[AGENTS]) 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 2f4867c commit ffe3814
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