[Notes] [Git][BuildStream/buildstream][jjardon/pycodestyle] 3 commits: fixup! Use pycodestyle instead pep8



Title: GitLab

Tristan Maat pushed to branch jjardon/pycodestyle at BuildStream / buildstream

Commits:

3 changed files:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -75,8 +75,7 @@ source_dist:
    75 75
       script:
    
    76 76
       - useradd -Um buildstream
    
    77 77
       - chown -R buildstream:buildstream .
    
    78
    -
    
    79
    -  - pip3 install git+https://github.com/henry0312/pytest-codestyle.git@8383954f7d54a4c2b366b73592467694f22618de
    
    78
    +  - pip3 install pytest-codestyle
    
    80 79
     
    
    81 80
       # Run the tests from the source distribution, We run as a simple
    
    82 81
       # user to test for permission issues
    

  • buildstream/_signals.py
    ... ... @@ -38,7 +38,7 @@ def terminator_handler(signal_, frame):
    38 38
             terminator_ = terminator_stack.pop()
    
    39 39
             try:
    
    40 40
                 terminator_()
    
    41
    -        except:                                                 # pylint: disable=bare-except
    
    41
    +        except:                               # noqa pylint: disable=bare-except
    
    42 42
                 # Ensure we print something if there's an exception raised when
    
    43 43
                 # processing the handlers. Note that the default exception
    
    44 44
                 # handler won't be called because we os._exit next, so we must
    

  • dev-requirements.txt
    1 1
     coverage == 4.4.0
    
    2 2
     pylint == 2.1.1
    
    3 3
     pytest >= 3.8
    
    4
    -pytest-codestyle >= 1.3.1
    
    4
    +pytest-codestyle >= 1.4.0
    
    5 5
     pytest-cov >= 2.5.0
    
    6 6
     pytest-datafiles
    
    7 7
     pytest-env
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]