[
https://issues.apache.org/jira/browse/SPARK-33457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17232462#comment-17232462
]
Apache Spark commented on SPARK-33457:
--------------------------------------
User 'zero323' has created a pull request for this issue:
https://github.com/apache/spark/pull/30382
> Adjust mypy configuration
> -------------------------
>
> Key: SPARK-33457
> URL: https://issues.apache.org/jira/browse/SPARK-33457
> Project: Spark
> Issue Type: Sub-task
> Components: PySpark
> Affects Versions: 3.1.0
> Reporter: Maciej Szymkiewicz
> Priority: Major
>
> At the moment, with exception to type ignores, we use default MyPy
> configuration. These already provide decent coverage, but are somewhat less
> restrictive than the ones used in {{typeshed}} and {{pyspark-stubs}}.
> We should consider at least the following:
> - {{strict_optional}}
> - {{no_implicit_optional}}
> It might be also a good idea to add {{disallow_untyped_defs}}, which will
> allow us to catch any instances of user-facing code, that are missing
> annotations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]