You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/11/16 02:14:00 UTC
[jira] [Commented] (SPARK-33457) Adjust mypy configuration
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org