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

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

     [ https://issues.apache.org/jira/browse/SPARK-54544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SPARK-54544:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Minor
>              Labels: pull-request-available
>
> [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