Skip to content

Commit 58357a7

Browse files
generatedunixname89002005307016meta-codesync[bot]
authored andcommitted
Suppress type errors for Pyre upgrade (landing group 16)
Summary: This diff was automatically generated by the Pyre per-target upgrade tool. It adds `# pyrefly: ignore` comments for type errors that an upcoming Pyrefly version will report. It changes comments only; it does not change Python runtime behavior. Landing group: `10d4f0749853a73cbde1386930c7eeba6835887aeb1d89cc51ea654fe40214b4` (attempt 1, 20 batches, 53 files) Merged patch SHA-256: `0dea300f93be29b7674bb3c5c25bc2d8961b318dc382e69d0809e5708c0c3603` Fresh isolated full worker and Autoland validation with sharded discovery and idempotent batch writes #pyreupgrade Differential Revision: D125290676 fbshipit-source-id: ab4bd75c6572e92ce5505c45089ed06d20a32fcb
1 parent 9f80274 commit 58357a7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎opensfm/transformations.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,7 @@ def vector_norm(
16621662
data *= data
16631663
out = numpy.atleast_1d(numpy.sum(data, axis=axis))
16641664
numpy.sqrt(out, out)
1665+
# pyrefly: ignore [bad-return]
16651666
return out
16661667
else:
16671668
data *= data

0 commit comments

Comments
 (0)