You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tian Gao (Jira)" <ji...@apache.org> on 2025/11/27 22:05:00 UTC

[jira] [Created] (SPARK-54544) Enable F811 for flake8

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org