Tian Gao created SPARK-54544:
--------------------------------

             Summary: Enable F811 for flake8
                 Key: SPARK-54544
                 URL: https://issues.apache.org/jira/browse/SPARK-54544
             Project: Spark
          Issue Type: Sub-task
          Components: PySpark
    Affects Versions: 4.2.0
            Reporter: Tian Gao


[https://www.flake8rules.com/rules/F811.html]

Redefinition of unused name can often indicates real bugs. For example, when 
you copy/paste unittests and forget to change the function name - that'll 
disable a test silently.

This is also relatively friendly to code sync - most of the changes are 
"removing the line that's duplicated" or "change the name to something else".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to