Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gitshelf as a format and fetch certain repos #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CLiu13
Copy link

@CLiu13 CLiu13 commented Nov 13, 2018

This adds support for gitshelf as a format for a list
of repositories. This also adds support for fetching
only repos that are listed in a list of repositories,
as specified by --import-repos and --format.

Closes #6 and #29

@TravisBuddy
Copy link

Travis tests have failed

Hey @CLiu13,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

coala --non-interactive -V
[DEBUG][05:12:11] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][05:12:11] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:12:11] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.whitespace...
[DEBUG][05:12:11] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:12:11] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
[DEBUG][05:12:11] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][05:12:12] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:12:12] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.python.default...
[DEBUG][05:12:12] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:12:12] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][05:12:12] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][05:12:12] returning CommandNode(command=['-m'] redirects={})
[DEBUG][05:12:12] returning CommandNode(command=['pip'] redirects={})
[DEBUG][05:12:12] returning CommandNode(command=['show'] redirects={})
[DEBUG][05:12:12] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][05:12:12] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][05:12:12] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][05:12:12] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][05:12:12] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][05:12:12] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][05:12:12] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][05:12:12] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][05:12:12] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': <unlocked _thread.lock object at 0x7facf3a523c8>, '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], 'stdin': None, 'stdout': <_io.BufferedReader name=17>, 'stderr': <_io.BufferedReader name=19>, 'pid': 4234, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][05:12:12] Created thread Thread-4 as reader for Capture-1
[DEBUG][05:12:12] Capture-1: reader thread about to read line
[DEBUG][05:12:12] Capture-1: reader thread kicked off, waiting start
[DEBUG][05:12:12] Capture-1: reader thread now started
[DEBUG][05:12:12] Created thread Thread-5 as reader for Capture-2
[DEBUG][05:12:12] Capture-2: reader thread about to read line
[DEBUG][05:12:12] Capture-2: reader thread kicked off, waiting start
[DEBUG][05:12:12] Capture-2: reader thread now started
[DEBUG][05:12:12] about to wait for process
[DEBUG][05:12:12] queued chunk of length 15 to <queue.Queue object at 0x7facf27ef2e8>: b'Name: autopep8\n'
[DEBUG][05:12:12] queued chunk of length 15 to <queue.Queue object at 0x7facf27ef2e8>: b'Version: 1.4.3\n'
[DEBUG][05:12:12] queued chunk of length 91 to <queue.Queue object at 0x7facf27ef2e8>: b'Summary: A tool that automatic'
[DEBUG][05:12:12] queued chunk of length 46 to <queue.Queue object at 0x7facf27ef2e8>: b'Home-page: https://github.com/'
[DEBUG][05:12:12] queued chunk of length 22 to <queue.Queue object at 0x7facf27ef2e8>: b'Author: Hideo Hattori\n'
[DEBUG][05:12:12] queued chunk of length 34 to <queue.Queue object at 0x7facf27ef2e8>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][05:12:12] queued chunk of length 23 to <queue.Queue object at 0x7facf27ef2e8>: b'License: Expat License\n'
[DEBUG][05:12:12] queued chunk of length 74 to <queue.Queue object at 0x7facf27ef2e8>: b'Location: /home/travis/virtual'
[DEBUG][05:12:12] queued chunk of length 22 to <queue.Queue object at 0x7facf27ef2e8>: b'Requires: pycodestyle\n'
[DEBUG][05:12:12] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][05:12:12] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][05:12:12] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=17> stderr=<_io.BufferedReader name=19>))
[DEBUG][05:12:12] pipeline closing
[DEBUG][05:12:12] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][05:12:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:12] Running bear AnnotationBear...
[DEBUG][05:12:12] Running bear QuotesBear...
[DEBUG][05:12:12] Running bear PEP8Bear...
[DEBUG][05:12:12] Running bear AnnotationBear...
[DEBUG][05:12:12] Running bear PycodestyleBear...
[DEBUG][05:12:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py'
[DEBUG][05:12:12] Running bear QuotesBear...
[DEBUG][05:12:12] Running bear PEP8Bear...
[DEBUG][05:12:13] Running bear PyFlakesBear...
[DEBUG][05:12:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py'
[DEBUG][05:12:13] Running bear PycodestyleBear...
[DEBUG][05:12:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][05:12:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:13] Running bear AnnotationBear...
[WARNING][05:12:13] PyFlakesBear: This result has no patch attached.

org_status/decoders/gitshelf.py
[DEBUG][05:12:13] Running bear QuotesBear...
[DEBUG][05:12:13] Running bear PEP8Bear...
[DEBUG][05:12:13] Running bear PycodestyleBear...
[DEBUG][05:12:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
|   2| from·giturlparse·import·parse
|    | [INFO] PyFlakesBear:
|    | 'giturlparse.parse' imported but unused
[DEBUG][05:12:13] Running bear PyFlakesBear...
[DEBUG][05:12:13] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][05:12:13] Running bear PyFlakesBear...
[DEBUG][05:12:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][05:12:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:13] Running bear AnnotationBear...
[DEBUG][05:12:13] Running bear QuotesBear...
[DEBUG][05:12:13] Running bear PEP8Bear...
[DEBUG][05:12:13] Running bear PycodestyleBear...
[DEBUG][05:12:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][05:12:13] Running bear AnnotationBear...
[DEBUG][05:12:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:13] Running bear QuotesBear...
[DEBUG][05:12:13] Running bear PEP8Bear...
[DEBUG][05:12:13] Running bear PycodestyleBear...
[DEBUG][05:12:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/decoders/__init__.py'
[DEBUG][05:12:13] Running bear PyFlakesBear...
[DEBUG][05:12:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][05:12:13] Running bear PyFlakesBear...
[DEBUG][05:12:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/decoders/__init__.py'
[DEBUG][05:12:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:14] Running bear AnnotationBear...
[DEBUG][05:12:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:14] Running bear AnnotationBear...
[DEBUG][05:12:14] Running bear QuotesBear...
[DEBUG][05:12:14] Running bear PEP8Bear...
[DEBUG][05:12:14] Running bear PycodestyleBear...
[DEBUG][05:12:14] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][05:12:14] Running bear QuotesBear...
[DEBUG][05:12:14] Running bear PEP8Bear...
[DEBUG][05:12:14] Running bear PyFlakesBear...
[DEBUG][05:12:14] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][05:12:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:14] Running bear AnnotationBear...
[DEBUG][05:12:14] Running bear QuotesBear...
[DEBUG][05:12:14] Running bear PEP8Bear...
[DEBUG][05:12:14] Running bear PycodestyleBear...
[DEBUG][05:12:14] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][05:12:14] Running bear PycodestyleBear...
[DEBUG][05:12:14] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][05:12:14] Running bear PyFlakesBear...
[DEBUG][05:12:14] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][05:12:14] Running bear PyFlakesBear...
[DEBUG][05:12:14] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][05:12:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:14] Running bear AnnotationBear...
[DEBUG][05:12:14] Running bear QuotesBear...
[DEBUG][05:12:14] Running bear PEP8Bear...
[DEBUG][05:12:14] Running bear PycodestyleBear...
[DEBUG][05:12:14] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py'
|    | [NORMAL] PEP8Bear:
[DEBUG][05:12:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:14] Running bear AnnotationBear...
|    | The code does not comply to PEP8.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_status.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_status.py
| 110| 110| 
| 111| 111|     print(styled(f'unknown export format {encoder_name}', 'red'))
| 112| 112| 
|    | 113|+
| 113| 114| def decode_repo_list(file_name, decoder_name, styled):
| 114| 115|     decoders = get_all_supported_decoders()
| 115| 116|     decoded_repo_list = None
[INFO][05:12:14] Applied 'ShowPatchAction' on 'org_status/org_status.py' from 'PEP8Bear'.
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_status.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_status.py
| 127| 127| 
| 128| 128|     print(styled(f'unknown export format {decoder_name}', 'red'))
| 129| 129| 
|    | 130|+
| 130| 131| def write_data_to_file(encoded_data, filename, styled, verbose):
| 131| 132|     if encoded_data is not None:
| 132| 133|         try:
[INFO][05:12:14] Applied 'ShowPatchAction' on 'org_status/org_status.py' from 'PEP8Bear'.
[WARNING][05:12:14] PycodestyleBear (E302): This result has no patch attached.
[WARNING][05:12:14] PycodestyleBear (E302): This result has no patch attached.

org_status/org_status.py
[DEBUG][05:12:14] Running bear QuotesBear...
[DEBUG][05:12:14] Running bear PEP8Bear...
| 113| def·decode_repo_list(file_name,·decoder_name,·styled):
|    | [NORMAL] PycodestyleBear (E302):
|    | E302 expected 2 blank lines, found 1

org_status/org_status.py
| 130| def·write_data_to_file(encoded_data,·filename,·styled,·verbose):
|    | [NORMAL] PycodestyleBear (E302):
|    | E302 expected 2 blank lines, found 1
[DEBUG][05:12:15] Running bear PycodestyleBear...
[DEBUG][05:12:15] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][05:12:15] Running bear PyFlakesBear...
[DEBUG][05:12:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py'
[DEBUG][05:12:15] Running bear PyFlakesBear...
[DEBUG][05:12:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][05:12:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:15] Running bear AnnotationBear...
[DEBUG][05:12:15] Running bear QuotesBear...
[DEBUG][05:12:15] Running bear PEP8Bear...
[DEBUG][05:12:15] Running bear PycodestyleBear...
[DEBUG][05:12:15] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][05:12:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:15] Running bear AnnotationBear...
[DEBUG][05:12:15] Running bear QuotesBear...
[DEBUG][05:12:15] Running bear PEP8Bear...
[DEBUG][05:12:15] Running bear PycodestyleBear...
[DEBUG][05:12:15] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][05:12:15] Running bear PyFlakesBear...
[DEBUG][05:12:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][05:12:15] Running bear PyFlakesBear...
[DEBUG][05:12:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][05:12:15] Running bear AnnotationBear...
[DEBUG][05:12:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:15] Running bear QuotesBear...
[DEBUG][05:12:15] Running bear PEP8Bear...
[DEBUG][05:12:15] Running bear PycodestyleBear...
[DEBUG][05:12:15] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][05:12:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:15] Running bear AnnotationBear...
[DEBUG][05:12:15] Running bear QuotesBear...
[DEBUG][05:12:15] Running bear PEP8Bear...
[DEBUG][05:12:15] Running bear PycodestyleBear...
[DEBUG][05:12:15] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/encoders/gitman.py'
[DEBUG][05:12:15] Running bear PyFlakesBear...
[DEBUG][05:12:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][05:12:15] Running bear PyFlakesBear...
[DEBUG][05:12:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/gitman.py'
[DEBUG][05:12:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:15] Running bear AnnotationBear...
[DEBUG][05:12:15] Running bear QuotesBear...
[DEBUG][05:12:15] Running bear PEP8Bear...
[DEBUG][05:12:15] Running bear PycodestyleBear...
[DEBUG][05:12:15] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/decoders/gitman.py'
[DEBUG][05:12:16] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:12:16] Running bear AnnotationBear...
[DEBUG][05:12:16] Running bear QuotesBear...
[DEBUG][05:12:16] Running bear PEP8Bear...
[DEBUG][05:12:16] Running bear PycodestyleBear...
[DEBUG][05:12:16] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/encoders/__init__.py'
[DEBUG][05:12:16] Running bear PyFlakesBear...
[DEBUG][05:12:16] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/decoders/gitman.py'
[DEBUG][05:12:16] Running bear PyFlakesBear...
[DEBUG][05:12:16] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/__init__.py'
[DEBUG][05:12:16] Running bear AnnotationBear...
[DEBUG][05:12:16] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[WARNING][05:12:16] PyFlakesBear: This result has no patch attached.

org_status/decoders/gitman.py
|   2| from·giturlparse·import·parse
|    | [INFO] PyFlakesBear:
|    | 'giturlparse.parse' imported but unused
[DEBUG][05:12:16] Running bear QuotesBear...
[DEBUG][05:12:16] Running bear PEP8Bear...
[DEBUG][05:12:16] Running bear PycodestyleBear...
[DEBUG][05:12:16] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][05:12:16] Running bear PyFlakesBear...
[DEBUG][05:12:16] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
Executing section all.linelength...
[DEBUG][05:12:16] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:12:16] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
[DEBUG][05:12:16] Running bear LineLengthBear...
Executing section cli...
[DEBUG][05:12:17] Files that will be checked:
[DEBUG][05:12:17] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
TravisBuddy Request Identifier: b3a07b70-e702-11e8-87c2-ebfa2f2e9d99

@TravisBuddy
Copy link

Travis tests have failed

Hey @CLiu13,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

coala --non-interactive -V
[DEBUG][05:18:40] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][05:18:40] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:18:40] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.whitespace...
[DEBUG][05:18:40] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:18:40] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
[DEBUG][05:18:40] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][05:18:41] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:18:41] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.python.default...
[DEBUG][05:18:41] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:18:41] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][05:18:41] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][05:18:41] returning CommandNode(command=['-m'] redirects={})
[DEBUG][05:18:41] returning CommandNode(command=['pip'] redirects={})
[DEBUG][05:18:41] returning CommandNode(command=['show'] redirects={})
[DEBUG][05:18:41] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][05:18:41] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][05:18:41] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][05:18:41] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][05:18:41] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][05:18:41] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][05:18:41] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][05:18:41] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][05:18:41] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': <unlocked _thread.lock object at 0x7ff0526773f0>, '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], 'stdin': None, 'stdout': <_io.BufferedReader name=17>, 'stderr': <_io.BufferedReader name=19>, 'pid': 4428, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][05:18:41] Created thread Thread-4 as reader for Capture-1
[DEBUG][05:18:41] Capture-1: reader thread about to read line
[DEBUG][05:18:41] Capture-1: reader thread kicked off, waiting start
[DEBUG][05:18:41] Capture-1: reader thread now started
[DEBUG][05:18:41] Created thread Thread-5 as reader for Capture-2
[DEBUG][05:18:41] Capture-2: reader thread about to read line
[DEBUG][05:18:41] Capture-2: reader thread kicked off, waiting start
[DEBUG][05:18:41] Capture-2: reader thread now started
[DEBUG][05:18:41] about to wait for process
[DEBUG][05:18:41] queued chunk of length 15 to <queue.Queue object at 0x7ff051411438>: b'Name: autopep8\n'
[DEBUG][05:18:41] queued chunk of length 15 to <queue.Queue object at 0x7ff051411438>: b'Version: 1.4.3\n'
[DEBUG][05:18:41] queued chunk of length 91 to <queue.Queue object at 0x7ff051411438>: b'Summary: A tool that automatic'
[DEBUG][05:18:41] queued chunk of length 46 to <queue.Queue object at 0x7ff051411438>: b'Home-page: https://github.com/'
[DEBUG][05:18:41] queued chunk of length 22 to <queue.Queue object at 0x7ff051411438>: b'Author: Hideo Hattori\n'
[DEBUG][05:18:41] queued chunk of length 34 to <queue.Queue object at 0x7ff051411438>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][05:18:41] queued chunk of length 23 to <queue.Queue object at 0x7ff051411438>: b'License: Expat License\n'
[DEBUG][05:18:41] queued chunk of length 74 to <queue.Queue object at 0x7ff051411438>: b'Location: /home/travis/virtual'
[DEBUG][05:18:41] queued chunk of length 22 to <queue.Queue object at 0x7ff051411438>: b'Requires: pycodestyle\n'
[DEBUG][05:18:41] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][05:18:41] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][05:18:41] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=17> stderr=<_io.BufferedReader name=19>))
[DEBUG][05:18:41] pipeline closing
[DEBUG][05:18:41] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][05:18:41] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:41] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:41] Running bear AnnotationBear...
[DEBUG][05:18:42] Running bear AnnotationBear...
[DEBUG][05:18:42] Running bear QuotesBear...
[DEBUG][05:18:42] Running bear PEP8Bear...
[DEBUG][05:18:42] Running bear PycodestyleBear...
[DEBUG][05:18:42] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][05:18:42] Running bear QuotesBear...
[DEBUG][05:18:42] Running bear PEP8Bear...
[DEBUG][05:18:42] Running bear PyFlakesBear...
[DEBUG][05:18:42] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][05:18:42] Running bear PycodestyleBear...
[DEBUG][05:18:42] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][05:18:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:42] Running bear AnnotationBear...
[DEBUG][05:18:42] Running bear QuotesBear...
[DEBUG][05:18:42] Running bear PEP8Bear...
[DEBUG][05:18:42] Running bear PycodestyleBear...
[DEBUG][05:18:42] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py'
[DEBUG][05:18:42] Running bear PyFlakesBear...
[DEBUG][05:18:42] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][05:18:42] Running bear PyFlakesBear...
[DEBUG][05:18:42] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py'
[DEBUG][05:18:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:42] Running bear AnnotationBear...
[DEBUG][05:18:42] Running bear QuotesBear...
[DEBUG][05:18:42] Running bear PEP8Bear...
[DEBUG][05:18:42] Running bear PycodestyleBear...
[DEBUG][05:18:42] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/encoders/__init__.py'
[DEBUG][05:18:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:42] Running bear AnnotationBear...
[WARNING][05:18:42] PyFlakesBear: This result has no patch attached.

org_status/decoders/gitshelf.py
[DEBUG][05:18:42] Running bear QuotesBear...
[DEBUG][05:18:42] Running bear PEP8Bear...
[DEBUG][05:18:42] Running bear PycodestyleBear...
[DEBUG][05:18:42] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/decoders/__init__.py'
[DEBUG][05:18:42] Running bear PyFlakesBear...
[DEBUG][05:18:42] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/__init__.py'
[DEBUG][05:18:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:42] Running bear AnnotationBear...
[DEBUG][05:18:42] Running bear QuotesBear...
[DEBUG][05:18:42] Running bear PEP8Bear...
|   2| from·giturlparse·import·parse
|    | [INFO] PyFlakesBear:
|    | 'giturlparse.parse' imported but unused
[DEBUG][05:18:42] Running bear PycodestyleBear...
[DEBUG][05:18:42] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][05:18:42] Running bear PyFlakesBear...
[DEBUG][05:18:42] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/decoders/__init__.py'
[DEBUG][05:18:42] Running bear PyFlakesBear...
[DEBUG][05:18:42] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][05:18:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:42] Running bear AnnotationBear...
[DEBUG][05:18:42] Running bear QuotesBear...
[DEBUG][05:18:42] Running bear PEP8Bear...
[DEBUG][05:18:42] Running bear PycodestyleBear...
[DEBUG][05:18:42] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py'
[DEBUG][05:18:42] Running bear AnnotationBear...
[DEBUG][05:18:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:42] Running bear QuotesBear...
[DEBUG][05:18:42] Running bear PEP8Bear...
[DEBUG][05:18:42] Running bear PyFlakesBear...
[DEBUG][05:18:42] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py'
[DEBUG][05:18:42] Running bear PycodestyleBear...
[DEBUG][05:18:42] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][05:18:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:43] Running bear AnnotationBear...
[DEBUG][05:18:43] Running bear QuotesBear...
[DEBUG][05:18:43] Running bear PEP8Bear...
[DEBUG][05:18:43] Running bear PyFlakesBear...
[DEBUG][05:18:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][05:18:43] Running bear PycodestyleBear...
[DEBUG][05:18:43] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][05:18:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:43] Running bear AnnotationBear...
[DEBUG][05:18:43] Running bear QuotesBear...
[DEBUG][05:18:43] Running bear PyFlakesBear...
[DEBUG][05:18:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][05:18:43] Running bear PEP8Bear...
[DEBUG][05:18:43] Running bear PycodestyleBear...
[DEBUG][05:18:43] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/encoders/gitman.py'
[DEBUG][05:18:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:43] Running bear AnnotationBear...
[DEBUG][05:18:43] Running bear QuotesBear...
[DEBUG][05:18:43] Running bear PEP8Bear...
[DEBUG][05:18:43] Running bear PyFlakesBear...
[DEBUG][05:18:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/gitman.py'
[DEBUG][05:18:43] Running bear PycodestyleBear...
[DEBUG][05:18:43] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][05:18:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:43] Running bear AnnotationBear...
[DEBUG][05:18:43] Running bear PyFlakesBear...
[DEBUG][05:18:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][05:18:43] Running bear QuotesBear...
[DEBUG][05:18:43] Running bear PEP8Bear...
[DEBUG][05:18:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:43] Running bear AnnotationBear...
[DEBUG][05:18:43] Running bear QuotesBear...
[DEBUG][05:18:43] Running bear PEP8Bear...
[DEBUG][05:18:43] Running bear PycodestyleBear...
[DEBUG][05:18:43] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/decoders/gitman.py'
[DEBUG][05:18:43] Running bear PycodestyleBear...
[DEBUG][05:18:43] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][05:18:43] Running bear PyFlakesBear...
[DEBUG][05:18:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/decoders/gitman.py'
[DEBUG][05:18:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:43] Running bear AnnotationBear...
[DEBUG][05:18:43] Running bear QuotesBear...
[DEBUG][05:18:43] Running bear PEP8Bear...
[WARNING][05:18:43] PyFlakesBear: This result has no patch attached.

org_status/decoders/gitman.py
|   2| from·giturlparse·import·parse
|    | [INFO] PyFlakesBear:
[DEBUG][05:18:43] Running bear PyFlakesBear...
[DEBUG][05:18:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
|    | 'giturlparse.parse' imported but unused
[DEBUG][05:18:43] Running bear PycodestyleBear...
[DEBUG][05:18:43] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][05:18:43] Running bear PyFlakesBear...
[DEBUG][05:18:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][05:18:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:43] Running bear AnnotationBear...
[DEBUG][05:18:43] Running bear QuotesBear...
[DEBUG][05:18:43] Running bear PEP8Bear...
[DEBUG][05:18:43] Running bear PycodestyleBear...
[DEBUG][05:18:43] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][05:18:44] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:44] Running bear AnnotationBear...
[DEBUG][05:18:44] Running bear QuotesBear...
[DEBUG][05:18:44] Running bear PEP8Bear...
[DEBUG][05:18:44] Running bear PycodestyleBear...
[DEBUG][05:18:44] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][05:18:44] Running bear PyFlakesBear...
[DEBUG][05:18:44] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][05:18:44] Running bear PyFlakesBear...
[DEBUG][05:18:44] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][05:18:44] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][05:18:44] Running bear AnnotationBear...
[DEBUG][05:18:44] Running bear QuotesBear...
[DEBUG][05:18:44] Running bear PEP8Bear...
[DEBUG][05:18:44] Running bear PycodestyleBear...
[DEBUG][05:18:44] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][05:18:44] Running bear PyFlakesBear...
[DEBUG][05:18:44] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
Executing section all.linelength...
[DEBUG][05:18:44] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][05:18:44] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
[DEBUG][05:18:44] Running bear LineLengthBear...
Executing section cli...
[DEBUG][05:18:45] Files that will be checked:
[DEBUG][05:18:45] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
TravisBuddy Request Identifier: 9900ba40-e703-11e8-87c2-ebfa2f2e9d99

Copy link
Contributor

@kx-chen kx-chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good to me! Better than what I can do ;)

Just one suggestion. (see comments)

org_status/decoders/gitman.py Outdated Show resolved Hide resolved
org_status/decoders/gitshelf.py Outdated Show resolved Hide resolved
@TravisBuddy
Copy link

Travis tests have failed

Hey @CLiu13,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

coala --non-interactive -V
[DEBUG][06:15:50] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][06:15:50] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][06:15:50] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.whitespace...
[DEBUG][06:15:51] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][06:15:51] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
[DEBUG][06:15:51] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][06:15:51] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][06:15:51] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.python.default...
[DEBUG][06:15:51] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][06:15:51] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][06:15:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][06:15:51] returning CommandNode(command=['-m'] redirects={})
[DEBUG][06:15:51] returning CommandNode(command=['pip'] redirects={})
[DEBUG][06:15:51] returning CommandNode(command=['show'] redirects={})
[DEBUG][06:15:51] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][06:15:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][06:15:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][06:15:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][06:15:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][06:15:51] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][06:15:51] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][06:15:51] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][06:15:51] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': <unlocked _thread.lock object at 0x7f3f55094440>, '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], 'stdin': None, 'stdout': <_io.BufferedReader name=17>, 'stderr': <_io.BufferedReader name=19>, 'pid': 4416, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][06:15:51] Created thread Thread-4 as reader for Capture-1
[DEBUG][06:15:51] Capture-1: reader thread about to read line
[DEBUG][06:15:51] Capture-1: reader thread kicked off, waiting start
[DEBUG][06:15:51] Capture-1: reader thread now started
[DEBUG][06:15:51] Created thread Thread-5 as reader for Capture-2
[DEBUG][06:15:51] Capture-2: reader thread about to read line
[DEBUG][06:15:51] Capture-2: reader thread kicked off, waiting start
[DEBUG][06:15:51] Capture-2: reader thread now started
[DEBUG][06:15:51] about to wait for process
[DEBUG][06:15:52] queued chunk of length 15 to <queue.Queue object at 0x7f3f5402e630>: b'Name: autopep8\n'
[DEBUG][06:15:52] queued chunk of length 15 to <queue.Queue object at 0x7f3f5402e630>: b'Version: 1.4.3\n'
[DEBUG][06:15:52] queued chunk of length 91 to <queue.Queue object at 0x7f3f5402e630>: b'Summary: A tool that automatic'
[DEBUG][06:15:52] queued chunk of length 46 to <queue.Queue object at 0x7f3f5402e630>: b'Home-page: https://github.com/'
[DEBUG][06:15:52] queued chunk of length 22 to <queue.Queue object at 0x7f3f5402e630>: b'Author: Hideo Hattori\n'
[DEBUG][06:15:52] queued chunk of length 34 to <queue.Queue object at 0x7f3f5402e630>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][06:15:52] queued chunk of length 23 to <queue.Queue object at 0x7f3f5402e630>: b'License: Expat License\n'
[DEBUG][06:15:52] queued chunk of length 74 to <queue.Queue object at 0x7f3f5402e630>: b'Location: /home/travis/virtual'
[DEBUG][06:15:52] queued chunk of length 22 to <queue.Queue object at 0x7f3f5402e630>: b'Requires: pycodestyle\n'
[DEBUG][06:15:52] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][06:15:52] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][06:15:52] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=17> stderr=<_io.BufferedReader name=19>))
[DEBUG][06:15:52] pipeline closing
[DEBUG][06:15:52] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][06:15:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:52] Running bear AnnotationBear...
[DEBUG][06:15:52] Running bear AnnotationBear...
[DEBUG][06:15:52] Running bear QuotesBear...
[DEBUG][06:15:52] Running bear QuotesBear...
[DEBUG][06:15:52] Running bear PEP8Bear...
[DEBUG][06:15:52] Running bear PEP8Bear...
[DEBUG][06:15:52] Running bear PycodestyleBear...
[DEBUG][06:15:52] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][06:15:52] Running bear PycodestyleBear...
[DEBUG][06:15:52] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][06:15:52] Running bear PyFlakesBear...
[DEBUG][06:15:52] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][06:15:52] Running bear PyFlakesBear...
[DEBUG][06:15:52] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][06:15:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:52] Running bear AnnotationBear...
[DEBUG][06:15:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:52] Running bear AnnotationBear...
[DEBUG][06:15:52] Running bear QuotesBear...
[DEBUG][06:15:52] Running bear PEP8Bear...
[DEBUG][06:15:52] Running bear PycodestyleBear...
[DEBUG][06:15:52] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][06:15:52] Running bear QuotesBear...
[DEBUG][06:15:52] Running bear PEP8Bear...
[DEBUG][06:15:52] Running bear PyFlakesBear...
[DEBUG][06:15:52] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][06:15:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:52] Running bear AnnotationBear...
[DEBUG][06:15:52] Running bear QuotesBear...
[DEBUG][06:15:52] Running bear PEP8Bear...
[DEBUG][06:15:52] Running bear PycodestyleBear...
[DEBUG][06:15:52] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/decoders/gitman.py'
[DEBUG][06:15:52] Running bear PycodestyleBear...
[DEBUG][06:15:52] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][06:15:52] Running bear PyFlakesBear...
[DEBUG][06:15:52] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/decoders/gitman.py'
[DEBUG][06:15:53] Running bear PyFlakesBear...
[DEBUG][06:15:53] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][06:15:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:53] Running bear AnnotationBear...
[WARNING][06:15:53] PyFlakesBear: This result has no patch attached.
[WARNING][06:15:53] PyFlakesBear: This result has no patch attached.

org_status/decoders/gitman.py
[DEBUG][06:15:53] Running bear QuotesBear...
[DEBUG][06:15:53] Running bear PEP8Bear...
[DEBUG][06:15:53] Running bear PycodestyleBear...
[DEBUG][06:15:53] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py'
|  20| ············print(styled(f'unable·to·find·file·{filename}',·'red'))
|    | [INFO] PyFlakesBear:
|    | undefined name 'styled'

org_status/decoders/gitman.py
|  20| ············print(styled(f'unable·to·find·file·{filename}',·'red'))
|    | [INFO] PyFlakesBear:
|    | undefined name 'filename'
[DEBUG][06:15:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:53] Running bear AnnotationBear...
[DEBUG][06:15:53] Running bear QuotesBear...
[DEBUG][06:15:53] Running bear PEP8Bear...
[DEBUG][06:15:53] Running bear PycodestyleBear...
[DEBUG][06:15:53] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/decoders/__init__.py'
[DEBUG][06:15:53] Running bear PyFlakesBear...
[DEBUG][06:15:53] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py'
[DEBUG][06:15:53] Running bear PyFlakesBear...
[DEBUG][06:15:53] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/decoders/__init__.py'
[DEBUG][06:15:53] Running bear AnnotationBear...
[WARNING][06:15:53] PyFlakesBear: This result has no patch attached.
[WARNING][06:15:53] PyFlakesBear: This result has no patch attached.

org_status/decoders/gitshelf.py
|  20| ············print(styled(f'unable·to·find·file·{filename}',·'red'))
|    | [INFO] PyFlakesBear:
[DEBUG][06:15:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
|    | undefined name 'styled'

org_status/decoders/gitshelf.py
|  20| ············print(styled(f'unable·to·find·file·{filename}',·'red'))
|    | [INFO] PyFlakesBear:
|    | undefined name 'filename'
[DEBUG][06:15:53] Running bear QuotesBear...
[DEBUG][06:15:53] Running bear PEP8Bear...
[DEBUG][06:15:53] Running bear PycodestyleBear...
[DEBUG][06:15:53] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][06:15:53] Running bear AnnotationBear...
[DEBUG][06:15:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:53] Running bear QuotesBear...
[DEBUG][06:15:53] Running bear PEP8Bear...
[DEBUG][06:15:53] Running bear PycodestyleBear...
[DEBUG][06:15:53] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][06:15:53] Running bear PyFlakesBear...
[DEBUG][06:15:53] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][06:15:53] Running bear PyFlakesBear...
[DEBUG][06:15:53] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][06:15:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:53] Running bear AnnotationBear...
[DEBUG][06:15:53] Running bear QuotesBear...
[DEBUG][06:15:53] Running bear PEP8Bear...
[DEBUG][06:15:53] Running bear PycodestyleBear...
[DEBUG][06:15:53] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/encoders/gitman.py'
[DEBUG][06:15:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:53] Running bear AnnotationBear...
[DEBUG][06:15:53] Running bear QuotesBear...
[DEBUG][06:15:53] Running bear PEP8Bear...
[DEBUG][06:15:54] Running bear PycodestyleBear...
[DEBUG][06:15:54] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][06:15:54] Running bear PyFlakesBear...
[DEBUG][06:15:54] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/gitman.py'
[DEBUG][06:15:54] Running bear PyFlakesBear...
[DEBUG][06:15:54] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][06:15:54] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:54] Running bear AnnotationBear...
[DEBUG][06:15:54] Running bear QuotesBear...
[DEBUG][06:15:54] Running bear PEP8Bear...
[DEBUG][06:15:54] Running bear AnnotationBear...
[DEBUG][06:15:54] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:54] Running bear QuotesBear...
[DEBUG][06:15:54] Running bear PEP8Bear...
[DEBUG][06:15:54] Running bear PycodestyleBear...
[DEBUG][06:15:54] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/encoders/__init__.py'
[DEBUG][06:15:54] Running bear PycodestyleBear...
[DEBUG][06:15:54] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][06:15:54] Running bear PyFlakesBear...
[DEBUG][06:15:54] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/__init__.py'
[DEBUG][06:15:54] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:54] Running bear AnnotationBear...
[DEBUG][06:15:54] Running bear QuotesBear...
[DEBUG][06:15:54] Running bear PEP8Bear...
[DEBUG][06:15:54] Running bear PycodestyleBear...
[DEBUG][06:15:54] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py'
[DEBUG][06:15:54] Running bear PyFlakesBear...
[DEBUG][06:15:54] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][06:15:54] Running bear PyFlakesBear...
[DEBUG][06:15:54] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py'
[DEBUG][06:15:54] Running bear AnnotationBear...
[DEBUG][06:15:54] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:54] Running bear QuotesBear...
[DEBUG][06:15:54] Running bear PEP8Bear...
[DEBUG][06:15:54] Running bear PycodestyleBear...
[DEBUG][06:15:54] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][06:15:54] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:54] Running bear AnnotationBear...
[DEBUG][06:15:54] Running bear QuotesBear...
[DEBUG][06:15:54] Running bear PEP8Bear...
[DEBUG][06:15:54] Running bear PycodestyleBear...
[DEBUG][06:15:54] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][06:15:55] Running bear PyFlakesBear...
[DEBUG][06:15:55] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][06:15:55] Running bear PyFlakesBear...
[DEBUG][06:15:55] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][06:15:55] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][06:15:55] Running bear AnnotationBear...
[DEBUG][06:15:55] Running bear QuotesBear...
[DEBUG][06:15:55] Running bear PEP8Bear...
[DEBUG][06:15:55] Running bear PycodestyleBear...
[DEBUG][06:15:55] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][06:15:55] Running bear PyFlakesBear...
[DEBUG][06:15:55] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
Executing section all.linelength...
[DEBUG][06:15:55] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/decoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/decoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][06:15:55] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
[DEBUG][06:15:55] Running bear LineLengthBear...
Executing section cli...
[DEBUG][06:15:55] Files that will be checked:
[DEBUG][06:15:56] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
TravisBuddy Request Identifier: 981416b0-e70b-11e8-87c2-ebfa2f2e9d99

Copy link
Owner

@ksdme ksdme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • This PR should not close Manage a machine consumable list of all org repositories #6, please fix your commit message.
  • I do not think we need another class of classes called decoders, I think you should rather rename the Encoder classes we have to be more general and then add a decoder method it can implement.

org_status/org_status.py Outdated Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
@TravisBuddy
Copy link

Travis tests have failed

Hey @CLiu13,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

coala --non-interactive -V
[DEBUG][00:32:02] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][00:32:02] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:32:02] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.whitespace...
[DEBUG][00:32:02] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:32:02] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
[DEBUG][00:32:02] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][00:32:03] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:32:03] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.python.default...
[DEBUG][00:32:03] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:32:03] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][00:32:03] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][00:32:03] returning CommandNode(command=['-m'] redirects={})
[DEBUG][00:32:03] returning CommandNode(command=['pip'] redirects={})
[DEBUG][00:32:03] returning CommandNode(command=['show'] redirects={})
[DEBUG][00:32:03] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][00:32:03] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][00:32:03] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][00:32:03] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][00:32:03] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][00:32:03] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][00:32:03] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][00:32:03] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][00:32:03] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': <unlocked _thread.lock object at 0x7f095a6be198>, '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], 'stdin': None, 'stdout': <_io.BufferedReader name=17>, 'stderr': <_io.BufferedReader name=19>, 'pid': 4357, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][00:32:03] Created thread Thread-4 as reader for Capture-1
[DEBUG][00:32:03] Capture-1: reader thread about to read line
[DEBUG][00:32:03] Capture-1: reader thread kicked off, waiting start
[DEBUG][00:32:03] Capture-1: reader thread now started
[DEBUG][00:32:03] Created thread Thread-5 as reader for Capture-2
[DEBUG][00:32:03] Capture-2: reader thread about to read line
[DEBUG][00:32:03] Capture-2: reader thread kicked off, waiting start
[DEBUG][00:32:03] Capture-2: reader thread now started
[DEBUG][00:32:03] about to wait for process
[DEBUG][00:32:03] queued chunk of length 15 to <queue.Queue object at 0x7f095a6c3e10>: b'Name: autopep8\n'
[DEBUG][00:32:03] queued chunk of length 15 to <queue.Queue object at 0x7f095a6c3e10>: b'Version: 1.4.3\n'
[DEBUG][00:32:03] queued chunk of length 91 to <queue.Queue object at 0x7f095a6c3e10>: b'Summary: A tool that automatic'
[DEBUG][00:32:03] queued chunk of length 46 to <queue.Queue object at 0x7f095a6c3e10>: b'Home-page: https://github.com/'
[DEBUG][00:32:03] queued chunk of length 22 to <queue.Queue object at 0x7f095a6c3e10>: b'Author: Hideo Hattori\n'
[DEBUG][00:32:03] queued chunk of length 34 to <queue.Queue object at 0x7f095a6c3e10>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][00:32:03] queued chunk of length 23 to <queue.Queue object at 0x7f095a6c3e10>: b'License: Expat License\n'
[DEBUG][00:32:03] queued chunk of length 74 to <queue.Queue object at 0x7f095a6c3e10>: b'Location: /home/travis/virtual'
[DEBUG][00:32:03] queued chunk of length 22 to <queue.Queue object at 0x7f095a6c3e10>: b'Requires: pycodestyle\n'
[DEBUG][00:32:03] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][00:32:03] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][00:32:03] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=17> stderr=<_io.BufferedReader name=19>))
[DEBUG][00:32:03] pipeline closing
[DEBUG][00:32:03] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][00:32:03] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:04] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:04] Running bear AnnotationBear...
[DEBUG][00:32:04] Running bear QuotesBear...
[DEBUG][00:32:04] Running bear PEP8Bear...
[DEBUG][00:32:04] Running bear AnnotationBear...
[DEBUG][00:32:04] Running bear QuotesBear...
[DEBUG][00:32:04] Running bear PEP8Bear...
[DEBUG][00:32:04] Running bear PycodestyleBear...
[DEBUG][00:32:04] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][00:32:04] Running bear PycodestyleBear...
[DEBUG][00:32:04] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py'
[DEBUG][00:32:04] Running bear PyFlakesBear...
[DEBUG][00:32:04] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][00:32:04] Running bear PyFlakesBear...
[DEBUG][00:32:04] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py'
[DEBUG][00:32:04] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:04] Running bear AnnotationBear...
[DEBUG][00:32:04] Running bear QuotesBear...
[DEBUG][00:32:04] Running bear PEP8Bear...
[DEBUG][00:32:04] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:04] Running bear AnnotationBear...
[DEBUG][00:32:04] Running bear PycodestyleBear...
[DEBUG][00:32:04] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][00:32:04] Running bear QuotesBear...
[DEBUG][00:32:04] Running bear PEP8Bear...
[DEBUG][00:32:04] Running bear PycodestyleBear...
[DEBUG][00:32:04] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][00:32:04] Running bear PyFlakesBear...
[DEBUG][00:32:04] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][00:32:04] Running bear PyFlakesBear...
[DEBUG][00:32:04] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][00:32:04] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:04] Running bear AnnotationBear...
[DEBUG][00:32:04] Running bear QuotesBear...
[DEBUG][00:32:04] Running bear PEP8Bear...
[DEBUG][00:32:04] Running bear PycodestyleBear...
[DEBUG][00:32:04] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][00:32:04] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:04] Running bear AnnotationBear...
[DEBUG][00:32:04] Running bear QuotesBear...
[DEBUG][00:32:04] Running bear PEP8Bear...
[DEBUG][00:32:04] Running bear PycodestyleBear...
[DEBUG][00:32:04] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][00:32:04] Running bear PyFlakesBear...
[DEBUG][00:32:04] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][00:32:04] Running bear PyFlakesBear...
[DEBUG][00:32:04] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][00:32:05] Running bear AnnotationBear...
[DEBUG][00:32:05] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:05] Running bear QuotesBear...
[DEBUG][00:32:05] Running bear PEP8Bear...
[DEBUG][00:32:05] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:05] Running bear AnnotationBear...
[DEBUG][00:32:05] Running bear QuotesBear...
[DEBUG][00:32:05] Running bear PEP8Bear...
[DEBUG][00:32:05] Running bear PycodestyleBear...
[DEBUG][00:32:05] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/formatters/gitman.py'
[DEBUG][00:32:05] Running bear PycodestyleBear...
[DEBUG][00:32:05] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][00:32:05] Running bear PyFlakesBear...
[DEBUG][00:32:05] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/formatters/gitman.py'
[DEBUG][00:32:05] Running bear PyFlakesBear...
[DEBUG][00:32:05] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][00:32:05] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:05] Running bear AnnotationBear...
[DEBUG][00:32:05] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:05] Running bear AnnotationBear...
[DEBUG][00:32:05] Running bear QuotesBear...
[DEBUG][00:32:05] Running bear PEP8Bear...
[DEBUG][00:32:05] Running bear PycodestyleBear...
[DEBUG][00:32:05] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][00:32:05] Running bear QuotesBear...
[DEBUG][00:32:05] Running bear PEP8Bear...
[DEBUG][00:32:05] Running bear PyFlakesBear...
[DEBUG][00:32:05] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][00:32:05] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:05] Running bear AnnotationBear...
[DEBUG][00:32:05] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][00:32:05] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][00:32:05] Running bear PycodestyleBear...
[DEBUG][00:32:05] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][00:32:05] Running bear QuotesBear...
[DEBUG][00:32:05] Running bear PEP8Bear...
[DEBUG][00:32:05] Running bear PycodestyleBear...
[DEBUG][00:32:05] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][00:32:06] Running bear PyFlakesBear...
[DEBUG][00:32:06] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][00:32:06] Running bear PyFlakesBear...
[DEBUG][00:32:06] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][00:32:06] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
|    | [NORMAL] PEP8Bear:
[DEBUG][00:32:06] Running bear AnnotationBear...
[DEBUG][00:32:06] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:06] Running bear AnnotationBear...
|    | The code does not comply to PEP8.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_status.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_status.py
|  48|  48|         for repo in org_host.repositories:
|  49|  49|             urls.append(repo.web_url)
|  50|  50|         return pool.map(org_host.process_repository, urls)
|    |  51|+
|  51|  52| 
|  52|  53| def aggregate_org_status_from_repo_list(org_host, repos, threads=2):
|  53|  54|     with Pool(processes=threads) as pool:
[INFO][00:32:06] Applied 'ShowPatchAction' on 'org_status/org_status.py' from 'PEP8Bear'.
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_status.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_status.py
|  52|  52| def aggregate_org_status_from_repo_list(org_host, repos, threads=2):
|  53|  53|     with Pool(processes=threads) as pool:
|  54|  54|         return pool.map(org_host.process_repository, repos)
|    |  55|+
|  55|  56| 
|  56|  57| def present_status(statuses, no_color):
|  57|  58|     color = (lambda l, *_: l) if no_color else colored
[INFO][00:32:06] Applied 'ShowPatchAction' on 'org_status/org_status.py' from 'PEP8Bear'.
[DEBUG][00:32:06] Running bear QuotesBear...
[DEBUG][00:32:06] Running bear PEP8Bear...
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_status.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_status.py
| 188| 188|                 continue
| 189| 189| 
| 190| 190|             org_host = Host(None, org, False, verbose=args.verbose)
| 191|    |-            org_status = aggregate_org_status_from_repo_list(org_host, repo_urls, threads=args.threads)
|    | 191|+            org_status = aggregate_org_status_from_repo_list(
|    | 192|+                org_host, repo_urls, threads=args.threads)
| 192| 193|             present_status(org_status, args.no_color)
| 193| 194|     else:
| 194| 195|         for Host, org in generate_fetch_jobs(args.orgs):
[INFO][00:32:06] Applied 'ShowPatchAction' on 'org_status/org_status.py' from 'PEP8Bear'.
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_status.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_status.py
| 197| 197|             if not args.skip_host_checks:
| 198| 198|                 try:
| 199| 199|                     if not Host.get_host_status():
| 200|    |-                        print(styled(f'{Host.HostName} is currently down', 'red'))
|    | 200|+                        print(
|    | 201|+                            styled(f'{Host.HostName} is currently down', 'red'))
| 201| 202|                         continue
| 202| 203|                     else:
| 203| 204|                         hosts_only_print(f'{Host.HostName} is up')
[INFO][00:32:06] Applied 'ShowPatchAction' on 'org_status/org_status.py' from 'PEP8Bear'.
[WARNING][00:32:06] PycodestyleBear (E302): This result has no patch attached.
[WARNING][00:32:06] PycodestyleBear (E302): This result has no patch attached.
[WARNING][00:32:06] PycodestyleBear (E501): This result has no patch attached.
[WARNING][00:32:06] PycodestyleBear (E501): This result has no patch attached.
[WARNING][00:32:06] PycodestyleBear (E501): This result has no patch attached.
[WARNING][00:32:06] PycodestyleBear (E501): This result has no patch attached.
[WARNING][00:32:06] PycodestyleBear (E501): This result has no patch attached.
[WARNING][00:32:06] PyFlakesBear: This result has no patch attached.

org_status/org_status.py
[DEBUG][00:32:06] Running bear PycodestyleBear...
[DEBUG][00:32:06] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][00:32:06] Running bear QuotesBear...
[DEBUG][00:32:06] Running bear PEP8Bear...
|  52| def·aggregate_org_status_from_repo_list(org_host,·repos,·threads=2):
|    | [NORMAL] PycodestyleBear (E302):
|    | E302 expected 2 blank lines, found 1

org_status/org_status.py
|  56| def·present_status(statuses,·no_color):
|    | [NORMAL] PycodestyleBear (E302):
|    | E302 expected 2 blank lines, found 1

org_status/org_status.py
[DEBUG][00:32:06] Running bear PyFlakesBear...
[DEBUG][00:32:06] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
| 191| ············org_status·=·aggregate_org_status_from_repo_list(org_host,·repo_urls,·threads=args.threads)
|    | [NORMAL] PycodestyleBear (E501):
|    | E501 line too long (103 > 80 characters)

org_status/org_status.py
| 200| ························print(styled(f'{Host.HostName}·is·currently·down',·'red'))
|    | [NORMAL] PycodestyleBear (E501):
|    | E501 line too long (82 > 80 characters)

org_status/org_status.py
| 206| ························f'{Host.HostName}·does·not·support·checking·host·status')
|    | [NORMAL] PycodestyleBear (E501):
|    | E501 line too long (81 > 80 characters)

org_status/org_status.py
| 225| ····················text·=·(f'Lookup·requires·an·access·token·from·{token_type}·'
|    | [NORMAL] PycodestyleBear (E501):
|    | E501 line too long (81 > 80 characters)

org_status/org_status.py
| 226| ····························f'with·permissions·to·this·organization.·Please·set·'
|    | [NORMAL] PycodestyleBear (E501):
|    | E501 line too long (81 > 80 characters)

org_status/org_status.py
| 102| ····encoders·=·get_all_supported_encoders()
|    | [INFO] PyFlakesBear:
|    | undefined name 'get_all_supported_encoders'
[DEBUG][00:32:06] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:32:06] Running bear AnnotationBear...
[DEBUG][00:32:06] Running bear PycodestyleBear...
[DEBUG][00:32:06] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][00:32:06] Running bear QuotesBear...
[DEBUG][00:32:06] Running bear PEP8Bear...
[DEBUG][00:32:06] Running bear PycodestyleBear...
[DEBUG][00:32:06] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py'
[DEBUG][00:32:06] Running bear PyFlakesBear...
[DEBUG][00:32:06] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py'
[DEBUG][00:32:06] Running bear PyFlakesBear...
[DEBUG][00:32:06] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
Executing section all.linelength...
[DEBUG][00:32:07] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:32:07] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[DEBUG][00:32:07] Running bear LineLengthBear...
[WARNING][00:32:07] LineLengthBear: This result has no patch attached.
[WARNING][00:32:07] LineLengthBear: This result has no patch attached.
[WARNING][00:32:07] LineLengthBear: This result has no patch attached.
[WARNING][00:32:07] LineLengthBear: This result has no patch attached.
[WARNING][00:32:07] LineLengthBear: This result has no patch attached.

org_status/org_status.py
| 191| ············org_status·=·aggregate_org_status_from_repo_list(org_host,·repo_urls,·threads=args.threads)
|    | [NORMAL] LineLengthBear:
|    | Line is longer than allowed. (103 > 80)

org_status/org_status.py
| 200| ························print(styled(f'{Host.HostName}·is·currently·down',·'red'))
|    | [NORMAL] LineLengthBear:
|    | Line is longer than allowed. (82 > 80)

org_status/org_status.py
| 206| ························f'{Host.HostName}·does·not·support·checking·host·status')
|    | [NORMAL] LineLengthBear:
|    | Line is longer than allowed. (81 > 80)

org_status/org_status.py
| 225| ····················text·=·(f'Lookup·requires·an·access·token·from·{token_type}·'
|    | [NORMAL] LineLengthBear:
|    | Line is longer than allowed. (81 > 80)

org_status/org_status.py
| 226| ····························f'with·permissions·to·this·organization.·Please·set·'
|    | [NORMAL] LineLengthBear:
|    | Line is longer than allowed. (81 > 80)
Executing section cli...
[DEBUG][00:32:07] Files that will be checked:
[DEBUG][00:32:07] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
TravisBuddy Request Identifier: baec6ef0-e7a4-11e8-ad5c-f14c74a66e2e

@TravisBuddy
Copy link

Travis tests have failed

Hey @CLiu13,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

coala --non-interactive -V
[DEBUG][00:38:08] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][00:38:08] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:38:08] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.whitespace...
[DEBUG][00:38:09] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:38:09] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
[DEBUG][00:38:09] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][00:38:09] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:38:09] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.python.default...
[DEBUG][00:38:09] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:38:09] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][00:38:09] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][00:38:09] returning CommandNode(command=['-m'] redirects={})
[DEBUG][00:38:09] returning CommandNode(command=['pip'] redirects={})
[DEBUG][00:38:09] returning CommandNode(command=['show'] redirects={})
[DEBUG][00:38:09] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][00:38:09] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][00:38:09] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][00:38:09] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][00:38:09] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][00:38:09] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][00:38:09] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][00:38:09] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][00:38:09] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': <unlocked _thread.lock object at 0x7f5cd3263490>, '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], 'stdin': None, 'stdout': <_io.BufferedReader name=17>, 'stderr': <_io.BufferedReader name=19>, 'pid': 4412, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][00:38:09] Created thread Thread-4 as reader for Capture-1
[DEBUG][00:38:09] Capture-1: reader thread about to read line
[DEBUG][00:38:09] Capture-1: reader thread kicked off, waiting start
[DEBUG][00:38:09] Capture-1: reader thread now started
[DEBUG][00:38:09] Created thread Thread-5 as reader for Capture-2
[DEBUG][00:38:09] Capture-2: reader thread about to read line
[DEBUG][00:38:09] Capture-2: reader thread kicked off, waiting start
[DEBUG][00:38:09] Capture-2: reader thread now started
[DEBUG][00:38:09] about to wait for process
[DEBUG][00:38:10] queued chunk of length 15 to <queue.Queue object at 0x7f5cd1ffd240>: b'Name: autopep8\n'
[DEBUG][00:38:10] queued chunk of length 15 to <queue.Queue object at 0x7f5cd1ffd240>: b'Version: 1.4.3\n'
[DEBUG][00:38:10] queued chunk of length 91 to <queue.Queue object at 0x7f5cd1ffd240>: b'Summary: A tool that automatic'
[DEBUG][00:38:10] queued chunk of length 46 to <queue.Queue object at 0x7f5cd1ffd240>: b'Home-page: https://github.com/'
[DEBUG][00:38:10] queued chunk of length 22 to <queue.Queue object at 0x7f5cd1ffd240>: b'Author: Hideo Hattori\n'
[DEBUG][00:38:10] queued chunk of length 34 to <queue.Queue object at 0x7f5cd1ffd240>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][00:38:10] queued chunk of length 23 to <queue.Queue object at 0x7f5cd1ffd240>: b'License: Expat License\n'
[DEBUG][00:38:10] queued chunk of length 74 to <queue.Queue object at 0x7f5cd1ffd240>: b'Location: /home/travis/virtual'
[DEBUG][00:38:10] queued chunk of length 22 to <queue.Queue object at 0x7f5cd1ffd240>: b'Requires: pycodestyle\n'
[DEBUG][00:38:10] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][00:38:10] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][00:38:10] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=17> stderr=<_io.BufferedReader name=19>))
[DEBUG][00:38:10] pipeline closing
[DEBUG][00:38:10] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][00:38:10] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:10] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:10] Running bear AnnotationBear...
[DEBUG][00:38:10] Running bear AnnotationBear...
[DEBUG][00:38:10] Running bear QuotesBear...
[DEBUG][00:38:10] Running bear QuotesBear...
[DEBUG][00:38:10] Running bear PEP8Bear...
[DEBUG][00:38:10] Running bear PEP8Bear...
[DEBUG][00:38:10] Running bear PycodestyleBear...
[DEBUG][00:38:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][00:38:10] Running bear PycodestyleBear...
[DEBUG][00:38:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py'
[DEBUG][00:38:10] Running bear PyFlakesBear...
[DEBUG][00:38:10] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][00:38:10] Running bear PyFlakesBear...
[DEBUG][00:38:10] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py'
[DEBUG][00:38:10] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:10] Running bear AnnotationBear...
[DEBUG][00:38:10] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:10] Running bear AnnotationBear...
[DEBUG][00:38:10] Running bear QuotesBear...
[DEBUG][00:38:10] Running bear PEP8Bear...
[DEBUG][00:38:10] Running bear QuotesBear...
[DEBUG][00:38:10] Running bear PEP8Bear...
[DEBUG][00:38:10] Running bear PycodestyleBear...
[DEBUG][00:38:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][00:38:10] Running bear PycodestyleBear...
[DEBUG][00:38:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][00:38:10] Running bear PyFlakesBear...
[DEBUG][00:38:10] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][00:38:10] Running bear PyFlakesBear...
[DEBUG][00:38:10] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][00:38:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:11] Running bear AnnotationBear...
[DEBUG][00:38:11] Running bear QuotesBear...
[DEBUG][00:38:11] Running bear PEP8Bear...
[DEBUG][00:38:11] Running bear PycodestyleBear...
[DEBUG][00:38:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][00:38:11] Running bear AnnotationBear...
[DEBUG][00:38:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:11] Running bear QuotesBear...
[DEBUG][00:38:11] Running bear PEP8Bear...
[DEBUG][00:38:11] Running bear PycodestyleBear...
[DEBUG][00:38:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py'
[DEBUG][00:38:11] Running bear PyFlakesBear...
[DEBUG][00:38:11] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][00:38:11] Running bear PyFlakesBear...
[DEBUG][00:38:11] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py'
[DEBUG][00:38:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:11] Running bear AnnotationBear...
[DEBUG][00:38:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:11] Running bear AnnotationBear...
[DEBUG][00:38:11] Running bear QuotesBear...
[DEBUG][00:38:11] Running bear PEP8Bear...
[DEBUG][00:38:11] Running bear QuotesBear...
[DEBUG][00:38:11] Running bear PEP8Bear...
[DEBUG][00:38:11] Running bear PycodestyleBear...
[DEBUG][00:38:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][00:38:11] Running bear PycodestyleBear...
[DEBUG][00:38:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][00:38:11] Running bear PyFlakesBear...
[DEBUG][00:38:11] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][00:38:12] Running bear PyFlakesBear...
[DEBUG][00:38:12] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
[WARNING][00:38:12] PyFlakesBear: This result has no patch attached.
[DEBUG][00:38:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:12] Running bear AnnotationBear...

org_status/org_status.py
[DEBUG][00:38:12] Running bear QuotesBear...
[DEBUG][00:38:12] Running bear PEP8Bear...
[DEBUG][00:38:12] Running bear PycodestyleBear...
[DEBUG][00:38:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][00:38:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:12] Running bear AnnotationBear...
[DEBUG][00:38:12] Running bear QuotesBear...
[DEBUG][00:38:12] Running bear PEP8Bear...
| 104| ····encoders·=·get_all_supported_encoders()
|    | [INFO] PyFlakesBear:
|    | undefined name 'get_all_supported_encoders'
[DEBUG][00:38:12] Running bear PycodestyleBear...
[DEBUG][00:38:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/formatters/gitman.py'
[DEBUG][00:38:12] Running bear PyFlakesBear...
[DEBUG][00:38:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][00:38:12] Running bear PyFlakesBear...
[DEBUG][00:38:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/formatters/gitman.py'
[DEBUG][00:38:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:12] Running bear AnnotationBear...
[DEBUG][00:38:12] Running bear QuotesBear...
[DEBUG][00:38:12] Running bear PEP8Bear...
[DEBUG][00:38:12] Running bear PycodestyleBear...
[DEBUG][00:38:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][00:38:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:12] Running bear AnnotationBear...
[DEBUG][00:38:12] Running bear QuotesBear...
[DEBUG][00:38:12] Running bear PEP8Bear...
[DEBUG][00:38:12] Running bear PycodestyleBear...
[DEBUG][00:38:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][00:38:12] Running bear PyFlakesBear...
[DEBUG][00:38:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][00:38:12] Running bear PyFlakesBear...
[DEBUG][00:38:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][00:38:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:12] Running bear AnnotationBear...
[DEBUG][00:38:12] Running bear QuotesBear...
[DEBUG][00:38:12] Running bear PEP8Bear...
[DEBUG][00:38:13] Running bear PycodestyleBear...
[DEBUG][00:38:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][00:38:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][00:38:13] Running bear AnnotationBear...
[DEBUG][00:38:13] Running bear QuotesBear...
[DEBUG][00:38:13] Running bear PEP8Bear...
[DEBUG][00:38:13] Running bear PycodestyleBear...
[DEBUG][00:38:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][00:38:13] Running bear PyFlakesBear...
[DEBUG][00:38:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][00:38:13] Running bear PyFlakesBear...
[DEBUG][00:38:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
Executing section all.linelength...
[DEBUG][00:38:13] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][00:38:13] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
[DEBUG][00:38:13] Running bear LineLengthBear...
Executing section cli...
[DEBUG][00:38:14] Files that will be checked:
[DEBUG][00:38:14] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
TravisBuddy Request Identifier: 934bab30-e7a5-11e8-ad5c-f14c74a66e2e

org_status/org_status.py Outdated Show resolved Hide resolved
org_status/org_status.py Show resolved Hide resolved
org_status/formatters/__init__.py Outdated Show resolved Hide resolved
org_status/formatters/gitman.py Outdated Show resolved Hide resolved
org_status/formatters/gitshelf.py Outdated Show resolved Hide resolved
org_status/formatters/gitshelf.py Outdated Show resolved Hide resolved
org_status/org_hosts/github.py Outdated Show resolved Hide resolved
org_status/org_hosts/gitlab.py Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
@TravisBuddy
Copy link

Travis tests have failed

Hey @CLiu13,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

coala --non-interactive -V
[DEBUG][21:18:09] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][21:18:09] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][21:18:09] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.whitespace...
[DEBUG][21:18:10] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][21:18:10] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][21:18:10] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
[DEBUG][21:18:10] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
|    | [NORMAL] SpaceConsistencyBear:
[DEBUG][21:18:10] Running bear SpaceConsistencyBear...
|    | Line contains following spacing inconsistencies:
|    | - Trailing whitespaces.
|----|    | /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
|   3|   3| 
|   4|   4|     def encode_repo_list(self, repos):
|   5|   5|         raise NotImplementedError()
|   6|    |-    
|    |   6|+
|   7|   7|     def decode_repo_list(self, file_name):
|   8|   8|         raise NotImplementedError()
|   9|   9| 
[INFO][21:18:10] Applied 'ShowPatchAction' on 'org_status/formatters/__init__.py' from 'SpaceConsistencyBear'.
|    | [NORMAL] SpaceConsistencyBear:
|    | Line contains following spacing inconsistencies:
|    | - Trailing whitespaces.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
|  63|  63|     @property
|  64|  64|     def repositories(self):
|  65|  65|         return [repo.web_url for repo in self._org.repositories]
|  66|    |-    
|    |  66|+
|  67|  67|     @property
|  68|  68|     def sync(self):
|  69|  69|         return self._sync
[INFO][21:18:10] Applied 'ShowPatchAction' on 'org_status/org_hosts/github.py' from 'SpaceConsistencyBear'.
Executing section all.python...
[DEBUG][21:18:10] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][21:18:10] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.python.default...
[DEBUG][21:18:10] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][21:18:10] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][21:18:10] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][21:18:10] returning CommandNode(command=['-m'] redirects={})
[DEBUG][21:18:10] returning CommandNode(command=['pip'] redirects={})
[DEBUG][21:18:10] returning CommandNode(command=['show'] redirects={})
[DEBUG][21:18:10] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][21:18:10] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][21:18:10] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][21:18:10] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][21:18:10] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][21:18:10] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][21:18:10] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][21:18:10] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][21:18:10] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': <unlocked _thread.lock object at 0x7f0312fbc580>, '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], 'stdin': None, 'stdout': <_io.BufferedReader name=17>, 'stderr': <_io.BufferedReader name=19>, 'pid': 4375, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][21:18:10] Created thread Thread-4 as reader for Capture-1
[DEBUG][21:18:10] Capture-1: reader thread about to read line
[DEBUG][21:18:10] Capture-1: reader thread kicked off, waiting start
[DEBUG][21:18:10] Capture-1: reader thread now started
[DEBUG][21:18:10] Created thread Thread-5 as reader for Capture-2
[DEBUG][21:18:10] Capture-2: reader thread about to read line
[DEBUG][21:18:10] Capture-2: reader thread kicked off, waiting start
[DEBUG][21:18:10] Capture-2: reader thread now started
[DEBUG][21:18:10] about to wait for process
[DEBUG][21:18:11] queued chunk of length 15 to <queue.Queue object at 0x7f0311d460b8>: b'Name: autopep8\n'
[DEBUG][21:18:11] queued chunk of length 15 to <queue.Queue object at 0x7f0311d460b8>: b'Version: 1.4.3\n'
[DEBUG][21:18:11] queued chunk of length 91 to <queue.Queue object at 0x7f0311d460b8>: b'Summary: A tool that automatic'
[DEBUG][21:18:11] queued chunk of length 46 to <queue.Queue object at 0x7f0311d460b8>: b'Home-page: https://github.com/'
[DEBUG][21:18:11] queued chunk of length 22 to <queue.Queue object at 0x7f0311d460b8>: b'Author: Hideo Hattori\n'
[DEBUG][21:18:11] queued chunk of length 34 to <queue.Queue object at 0x7f0311d460b8>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][21:18:11] queued chunk of length 23 to <queue.Queue object at 0x7f0311d460b8>: b'License: Expat License\n'
[DEBUG][21:18:11] queued chunk of length 74 to <queue.Queue object at 0x7f0311d460b8>: b'Location: /home/travis/virtual'
[DEBUG][21:18:11] queued chunk of length 22 to <queue.Queue object at 0x7f0311d460b8>: b'Requires: pycodestyle\n'
[DEBUG][21:18:11] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][21:18:11] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][21:18:11] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=17> stderr=<_io.BufferedReader name=19>))
[DEBUG][21:18:11] pipeline closing
[DEBUG][21:18:11] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][21:18:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:11] Running bear AnnotationBear...
[DEBUG][21:18:11] Running bear AnnotationBear...
[DEBUG][21:18:11] Running bear QuotesBear...
[DEBUG][21:18:11] Running bear PEP8Bear...
[DEBUG][21:18:11] Running bear QuotesBear...
[DEBUG][21:18:11] Running bear PEP8Bear...
[DEBUG][21:18:11] Running bear PycodestyleBear...
[DEBUG][21:18:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][21:18:11] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][21:18:11] Running bear PycodestyleBear...
[DEBUG][21:18:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py'
[DEBUG][21:18:11] Running bear PyFlakesBear...
[DEBUG][21:18:11] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][21:18:11] Running bear PyFlakesBear...
[DEBUG][21:18:11] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py'
[DEBUG][21:18:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:11] Running bear AnnotationBear...
|    | [NORMAL] PEP8Bear:
[DEBUG][21:18:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
|    | The code does not comply to PEP8.
[DEBUG][21:18:11] Running bear AnnotationBear...
[DEBUG][21:18:11] Running bear QuotesBear...
|----|    | /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
[DEBUG][21:18:11] Running bear PEP8Bear...
|    |++++| /home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
|   3|   3| 
|   4|   4|     def encode_repo_list(self, repos):
|   5|   5|         raise NotImplementedError()
|   6|    |-    
|    |   6|+
|   7|   7|     def decode_repo_list(self, file_name):
|   8|   8|         raise NotImplementedError()
|   9|   9| 
[INFO][21:18:11] Applied 'ShowPatchAction' on 'org_status/formatters/__init__.py' from 'PEP8Bear'.
[WARNING][21:18:11] PycodestyleBear (W293): This result has no patch attached.

org_status/formatters/__init__.py
[DEBUG][21:18:11] Running bear QuotesBear...
[DEBUG][21:18:11] Running bear PEP8Bear...
[DEBUG][21:18:11] Running bear PycodestyleBear...
[DEBUG][21:18:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py'
[DEBUG][21:18:11] Running bear PycodestyleBear...
[DEBUG][21:18:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][21:18:11] Running bear PyFlakesBear...
[DEBUG][21:18:11] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
|   6| ····
|    | [NORMAL] PycodestyleBear (W293):
|    | W293 blank line contains whitespace
[DEBUG][21:18:11] Running bear PyFlakesBear...
[DEBUG][21:18:11] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py'
[DEBUG][21:18:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:11] Running bear AnnotationBear...
[DEBUG][21:18:12] Running bear QuotesBear...
[DEBUG][21:18:12] Running bear PEP8Bear...
[DEBUG][21:18:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:12] Running bear AnnotationBear...
[DEBUG][21:18:12] Running bear QuotesBear...
[DEBUG][21:18:12] Running bear PEP8Bear...
[DEBUG][21:18:12] Running bear PycodestyleBear...
[DEBUG][21:18:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][21:18:12] Running bear PycodestyleBear...
[DEBUG][21:18:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][21:18:12] Running bear PyFlakesBear...
[DEBUG][21:18:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][21:18:12] Running bear PyFlakesBear...
[DEBUG][21:18:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][21:18:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:12] Running bear AnnotationBear...
[DEBUG][21:18:12] Running bear QuotesBear...
[DEBUG][21:18:12] Running bear PEP8Bear...
[DEBUG][21:18:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:12] Running bear AnnotationBear...
[DEBUG][21:18:12] Running bear PycodestyleBear...
[DEBUG][21:18:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][21:18:12] Running bear QuotesBear...
[DEBUG][21:18:12] Running bear PEP8Bear...
[DEBUG][21:18:12] Running bear PyFlakesBear...
[DEBUG][21:18:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][21:18:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:12] Running bear AnnotationBear...
[DEBUG][21:18:12] Running bear QuotesBear...
[DEBUG][21:18:12] Running bear PEP8Bear...
[DEBUG][21:18:12] Running bear PycodestyleBear...
[DEBUG][21:18:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/formatters/gitman.py'
[DEBUG][21:18:12] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][21:18:12] Running bear PycodestyleBear...
[DEBUG][21:18:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][21:18:12] Running bear PyFlakesBear...
[DEBUG][21:18:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/formatters/gitman.py'
[DEBUG][21:18:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:12] Running bear AnnotationBear...
[DEBUG][21:18:12] Running bear QuotesBear...
[DEBUG][21:18:12] Running bear PEP8Bear...
[DEBUG][21:18:12] Running bear PyFlakesBear...
[DEBUG][21:18:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][21:18:12] Running bear PycodestyleBear...
[DEBUG][21:18:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
|    | [NORMAL] PEP8Bear:
[DEBUG][21:18:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:13] Running bear AnnotationBear...
|    | The code does not comply to PEP8.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_status.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_status.py
| 124| 124|             try:
| 125| 125|                 encoded_repo_list = yaml.dump(
| 126| 126|                     list(encoder().encode_repo_list(
| 127|    |-                    repo_data)), default_flow_style=False)
|    | 127|+                        repo_data)), default_flow_style=False)
| 128| 128|                 return encoded_repo_list
| 129| 129|             except NotImplementedError:
| 130| 130|                 print(styled(
[INFO][21:18:13] Applied 'ShowPatchAction' on 'org_status/org_status.py' from 'PEP8Bear'.
[WARNING][21:18:13] PycodestyleBear (E122): This result has no patch attached.

org_status/org_status.py
[DEBUG][21:18:13] Running bear PyFlakesBear...
[DEBUG][21:18:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][21:18:13] Running bear QuotesBear...
[DEBUG][21:18:13] Running bear PEP8Bear...
| 127| ····················repo_data)),·default_flow_style=False)
|    | [NORMAL] PycodestyleBear (E122):
|    | E122 continuation line missing indentation or outdented
[DEBUG][21:18:13] Running bear PycodestyleBear...
[DEBUG][21:18:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][21:18:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:13] Running bear AnnotationBear...
[DEBUG][21:18:13] Running bear PyFlakesBear...
[DEBUG][21:18:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][21:18:13] Running bear QuotesBear...
[DEBUG][21:18:13] Running bear PEP8Bear...
[DEBUG][21:18:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:13] Running bear AnnotationBear...
[DEBUG][21:18:13] Running bear QuotesBear...
[DEBUG][21:18:13] Running bear PEP8Bear...
[DEBUG][21:18:13] Running bear PycodestyleBear...
[DEBUG][21:18:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][21:18:13] Running bear PyFlakesBear...
[DEBUG][21:18:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][21:18:13] Running bear PycodestyleBear...
[DEBUG][21:18:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][21:18:13] Running bear AnnotationBear...
[DEBUG][21:18:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][21:18:13] Running bear QuotesBear...
[DEBUG][21:18:13] Running bear PEP8Bear...
[DEBUG][21:18:13] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][21:18:13] Running bear PycodestyleBear...
[DEBUG][21:18:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][21:18:13] Running bear PyFlakesBear...
[DEBUG][21:18:13] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][21:18:13] Running bear PyFlakesBear...
[DEBUG][21:18:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
|  63|  63|     @property
|  64|  64|     def repositories(self):
|  65|  65|         return [repo.web_url for repo in self._org.repositories]
|  66|    |-    
|    |  66|+
|  67|  67|     @property
|  68|  68|     def sync(self):
|  69|  69|         return self._sync
[INFO][21:18:14] Applied 'ShowPatchAction' on 'org_status/org_hosts/github.py' from 'PEP8Bear'.
[WARNING][21:18:14] PycodestyleBear (W293): This result has no patch attached.

org_status/org_hosts/github.py
|  66| ····
|    | [NORMAL] PycodestyleBear (W293):
|    | W293 blank line contains whitespace
Executing section all.linelength...
[DEBUG][21:18:14] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/__main__.py
/home/travis/build/ksdme/org-status/org_status/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_status.py
/home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py
/home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py
/home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py
/home/travis/build/ksdme/org-status/org_status/status_providers/travis.py
/home/travis/build/ksdme/org-status/org_status/formatters/__init__.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitman.py
/home/travis/build/ksdme/org-status/org_status/formatters/gitshelf.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/github.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py
/home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py
[DEBUG][21:18:14] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
[DEBUG][21:18:14] Running bear LineLengthBear...
Executing section cli...
[DEBUG][21:18:14] Files that will be checked:
[DEBUG][21:18:14] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
TravisBuddy Request Identifier: 4e8c0b50-eaae-11e8-b26b-2fe956a0f750

This adds support for gitshelf as a format for a list
of repositories. This also adds support for fetching
only repos that are listed in a list of repositories,
as specified by --import-repos and --format.

Closes ksdme#29
'repo': url,
'rev': 'master'}

def decode_repo_list(self, file_name):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decode_repo_list here handles reading from the files by itself whereas encodind doesn't. I think you should have encode method return a String of encoded data in whichever format it likes like JSON, YAML etc and likewise decode method should take a string and yield results.

with open(file_name, 'r') as file:
yml_data = yaml.load(file)
for repo in yml_data['sources']:
yield [repo['name'], repo['repo']]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yielding tuples'll be better.

self._status_provider = []
for i in enumerate(self.StatusProvider):
self._status_provider.append(self.StatusProvider[i[0]](self._group))

self._sync = sync
if sync:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use self.sync.

if sync:
self._token = GitHubToken(token)
self._org = GitHubOrganization(self._token, self._group)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe something like

Suggested change
else:
self._nosync_repositories = kargs['repositories']


@property
def repositories(self):
return self._org.repositories
return [repo.web_url for repo in self._org.repositories]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please notice that if sync is False, this method will fail. We need an alternate build process for these classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants