Commit 00ce89d
fix all uses of numpy.complex_
Summary:
numpy.complex_ was replaced with numpy.complex128 in numpy 2.0+
```
xbgr "complex_" --exclude "/numpy/" -f ".*\.(py$|pyi)" -l --max-bytes 500000000 | sed 's/fbsource\///' > ~/u
while read l; do ~/ruff/target/release/ruff --config ~/fbsource3/fbcode/tp_foundation/codemods/pss/ruff/ruff.toml check --fix $l --npy201-subrules complex_ & done < ~/u
```
Reviewed By: florazzz
Differential Revision: D77571286
fbshipit-source-id: 1c97db3bf57dce26842b4a045dca05e762871c441 parent 65d825a commit 00ce89d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments