Commit 9be5c97
docs(engineering): fix grep regex for guarded extra imports
The previous regex anchored `^from pydantic` matched zero lines because
the imports now live inside `if import_checker.is_pydantic_installed:`
blocks (i.e., indented). Update the example command to match indented
import lines and filter out the import_checker module itself.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 948c485 commit 9be5c97
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments