tsonglew opened a new pull request, #59822:
URL: https://github.com/apache/spark/pull/59822

   ### What changes were proposed in this pull request?
   
   Remove `# type: ignore[arg-type, unused-ignore]` from 
`np.set_printoptions(legacy=...)` call sites under PySpark.
   
   Closes https://issues.apache.org/jira/browse/SPARK-54952
   
   Per the JIRA: minimum NumPy we support already has the `legacy` argument, so 
the ignore is unnecessary.
   
   ### Why are the changes needed?
   
   Clean up obsolete mypy suppressions so typing stays accurate as NumPy stubs 
improve.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   - Diff-only typing comment removal; call sites unchanged.
   - `git diff --check` clean locally.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Yes — OpenAI Codex CLI assisted with locating and applying the edits; human 
reviewed the diff before opening the PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to