You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2021/04/14 15:07:34 UTC

[spark] branch master updated: [SPARK-35061][BUILD] Upgrade pycodestyle from 2.6.0 to 2.7.0

This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e218ad  [SPARK-35061][BUILD] Upgrade pycodestyle from 2.6.0 to 2.7.0
3e218ad is described below

commit 3e218ade9cf6becc5de8b20a4385e345021a509d
Author: HyukjinKwon <gu...@apache.org>
AuthorDate: Wed Apr 14 08:07:05 2021 -0700

    [SPARK-35061][BUILD] Upgrade pycodestyle from 2.6.0 to 2.7.0
    
    ### What changes were proposed in this pull request?
    
    This PR bumps up the version of pycodestyle from 2.6.0 to 2.7.0 released a month ago.
    
    ### Why are the changes needed?
    
    2.7.0 includes three major fixes below (see https://readthedocs.org/projects/pycodestyle/downloads/pdf/latest/):
    
    - Fix physical checks (such as W191) at end of file. PR #961.
    - Add --indent-size option (defaulting to 4). PR #970.
    - W605: fix escaped crlf false positive on windows. PR #976
    
    The first and third ones could be useful for dev to detect the styles.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, dev-only.
    
    ### How was this patch tested?
    
    Manually tested locally.
    
    Closes #32160 from HyukjinKwon/SPARK-35061.
    
    Authored-by: HyukjinKwon <gu...@apache.org>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 dev/lint-python | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/lint-python b/dev/lint-python
index 320e24f..28df2a0 100755
--- a/dev/lint-python
+++ b/dev/lint-python
@@ -21,7 +21,7 @@ FLAKE8_BUILD="flake8"
 MINIMUM_FLAKE8="3.5.0"
 MYPY_BUILD="mypy"
 PYCODESTYLE_BUILD="pycodestyle"
-MINIMUM_PYCODESTYLE="2.6.0"
+MINIMUM_PYCODESTYLE="2.7.0"
 
 SPHINX_BUILD="sphinx-build"
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org