Commit a836976
committed
chore: unblock pyright for pre-commit hook
simple_salesforce has tightened its __all__ exports, so reading
Salesforce/OrderedDict via the top-level namespace now trips pyright's
reportPrivateImportUsage. Switch to the canonical submodule imports
(simple_salesforce.api) and a setattr() monkey-patch that pyright
doesn't flag.
Also pin the pyright version in the pre-commit hook so node-side
version drift can't silently reintroduce the same class of failure.1 parent 1292386 commit a836976
3 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments