[ https://issues.apache.org/jira/browse/SPARK-33457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon reassigned SPARK-33457: ------------------------------------ Assignee: Maciej Szymkiewicz > 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 > Assignee: 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org