You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Fokko Driesprong (Jira)" <ji...@apache.org> on 2020/08/27 20:12:00 UTC

[jira] [Created] (SPARK-32719) Add Flake8 check for missing imports

Fokko Driesprong created SPARK-32719:
----------------------------------------

             Summary: Add Flake8 check for missing imports
                 Key: SPARK-32719
                 URL: https://issues.apache.org/jira/browse/SPARK-32719
             Project: Spark
          Issue Type: Improvement
          Components: PySpark
    Affects Versions: 3.0.0
            Reporter: Fokko Driesprong


Add Flake8 check to detect missing imports. While working on SPARK-17333 I've noticed that we're missing some imports. This PR will enable a check using Flake8. One of the side effects is that we can't use wildcard imports, since Flake8 is unable to figure them out. However, having wildcard imports isn't the best practice since it can be unclear from which wildcard import a specific class is coming from.



--
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