Skip to content

No successful Travis builds in the last 4 months #125

Closed

Activity

  1. ResilientNomad commented on Oct 8, 2017

    @ResilientNomad

    I would like to take this up

  2. cclauss commented on Dec 22, 2017

    @cclauss
    MemberAuthor

    @harshildarji Instead of removing .travis.yml (as has been done), can we put that file back in place and then fix the errors? I and (I believe) @shabbir4791 would be willing to work on this.

  3. harshildarji commented on Jan 20, 2018

    @harshildarji
    Member

    @shabbir4791 @cclauss I am sure things are in place now. I am working on errors responsible for build failures.

  4. cclauss commented on Jan 20, 2018

    @cclauss
    MemberAuthor

    Unfortunately flake8 tests currently fail on both Python 2 and Python 3:


    flake8 testing of https://github.com/TheAlgorithms/Python on Python 2.7.14

    $ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

    ./data_structures/LinkedList/singly_LinkedList.py:14:13: F821 undefined name 'insert_tail'
                insert_tail(Head.next, data)
                ^
    ./data_structures/Trie/Trie.py:15:32: E999 SyntaxError: invalid syntax
        def insert_many(self, words: [str]):
                                   ^
    ./dynamic_programming/fastfibonacci.py:10:16: E999 SyntaxError: invalid syntax
    def fibonacci(n: int):
                   ^
    2     E999 SyntaxError: invalid syntax
    1     F821 undefined name 'insert_tail'
    

    flake8 testing of https://github.com/TheAlgorithms/Python on Python 3.6.3

    $ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

    ./File_Transfer_Protocol/ftp_client_server.py:11:28: E999 SyntaxError: invalid syntax
    print 'Server listening....'
                               ^
    ./Project Euler/Problem 29/solution.py:30:28: E999 SyntaxError: invalid syntax
        print "Number of terms ", len(collectPowers)
                               ^
    ./data_structures/LinkedList/singly_LinkedList.py:14:13: F821 undefined name 'insert_tail'
                insert_tail(Head.next, data)
                ^
    ./dynamic_programming/abbreviation.py:29:14: E999 SyntaxError: invalid syntax
        print abbr("daBcd", "ABC") # expect True
                 ^
    ./machine_learning/scoring_functions.py:73:13: E999 SyntaxError: invalid syntax
        print str(numerator)
                ^
    4     E999 SyntaxError: invalid syntax
    1     F821 undefined name 'insert_tail'
    
  5. changed the title [-]No successful Travis builds in the last 3 months[/-] on Jan 20, 2018
  6. cclauss commented on Jan 22, 2018

    @cclauss
    MemberAuthor

    flake8 tests with --select=E901,E999,F821,F822,F823 currently pass on both Python 2 and Python 3!! Nice work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions