Github user cclauss commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22266#discussion_r214201610
  
    --- Diff: dev/lint-python ---
    @@ -82,6 +82,25 @@ else
         rm "$PYCODESTYLE_REPORT_PATH"
     fi
     
    +# stop the build if there are Python syntax errors or undefined names
    +flake8 . --count --select=E901,E999,F821,F822,F823 --show-source 
--statistics
    --- End diff --
    
    My take is that we want contributors to be able to locally detect syntax 
errors and undefined names _before_ they submit a pull request.


---

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

Reply via email to