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 support to export list of org repo #27

Merged
merged 1 commit into from
Nov 9, 2018

Conversation

kx-chen
Copy link
Contributor

@kx-chen kx-chen commented Nov 8, 2018

Add option to export list of org repos into different formats.

Closes #6

org_status/export/Exporter.py Outdated Show resolved Hide resolved
org_status/export/Exporter.py Outdated Show resolved Hide resolved
org_status/export/Exporter.py Outdated Show resolved Hide resolved
org_status/export/Exporter.py Outdated Show resolved Hide resolved
org_status/export/Exporter.py Outdated Show resolved Hide resolved
org_status/export/gitman.py Outdated Show resolved Hide resolved
org_status/export/gitman.py Outdated Show resolved Hide resolved
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 @kx-chen,
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][20:52:10] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][20:52:10] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/export/__init__.py
/home/travis/build/ksdme/org-status/org_status/export/gitman.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/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][20:52: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.whitespace...
[DEBUG][20:52:10] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/export/__init__.py
/home/travis/build/ksdme/org-status/org_status/export/gitman.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/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][20:52: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][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
[DEBUG][20:52:10] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][20:52:10] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/export/__init__.py
/home/travis/build/ksdme/org-status/org_status/export/gitman.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/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][20:52: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][20:52:11] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/export/__init__.py
/home/travis/build/ksdme/org-status/org_status/export/gitman.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/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][20:52:11] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][20:52:11] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][20:52:11] returning CommandNode(command=['-m'] redirects={})
[DEBUG][20:52:11] returning CommandNode(command=['pip'] redirects={})
[DEBUG][20:52:11] returning CommandNode(command=['show'] redirects={})
[DEBUG][20:52:11] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][20:52:11] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][20:52:11] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][20:52:11] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][20:52:11] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][20:52:11] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][20:52:11] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][20:52:11] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][20:52:11] 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 0x7f066bb6b558>, '_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': 4425, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][20:52:11] Created thread Thread-4 as reader for Capture-1
[DEBUG][20:52:11] Capture-1: reader thread about to read line
[DEBUG][20:52:11] Capture-1: reader thread kicked off, waiting start
[DEBUG][20:52:11] Capture-1: reader thread now started
[DEBUG][20:52:11] Created thread Thread-5 as reader for Capture-2
[DEBUG][20:52:11] Capture-2: reader thread about to read line
[DEBUG][20:52:11] Capture-2: reader thread kicked off, waiting start
[DEBUG][20:52:11] Capture-2: reader thread now started
[DEBUG][20:52:11] about to wait for process
[DEBUG][20:52:11] queued chunk of length 15 to <queue.Queue object at 0x7f066a8f36a0>: b'Name: autopep8\n'
[DEBUG][20:52:11] queued chunk of length 15 to <queue.Queue object at 0x7f066a8f36a0>: b'Version: 1.4.2\n'
[DEBUG][20:52:11] queued chunk of length 91 to <queue.Queue object at 0x7f066a8f36a0>: b'Summary: A tool that automatic'
[DEBUG][20:52:11] queued chunk of length 46 to <queue.Queue object at 0x7f066a8f36a0>: b'Home-page: https://github.com/'
[DEBUG][20:52:11] queued chunk of length 22 to <queue.Queue object at 0x7f066a8f36a0>: b'Author: Hideo Hattori\n'
[DEBUG][20:52:11] queued chunk of length 34 to <queue.Queue object at 0x7f066a8f36a0>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][20:52:11] queued chunk of length 23 to <queue.Queue object at 0x7f066a8f36a0>: b'License: Expat License\n'
[DEBUG][20:52:11] queued chunk of length 74 to <queue.Queue object at 0x7f066a8f36a0>: b'Location: /home/travis/virtual'
[DEBUG][20:52:11] queued chunk of length 22 to <queue.Queue object at 0x7f066a8f36a0>: b'Requires: pycodestyle\n'
[DEBUG][20:52:11] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][20:52:11] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][20:52: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][20:52:11] pipeline closing
[DEBUG][20:52: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][20:52:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:11] Running bear AnnotationBear...
[DEBUG][20:52:11] Running bear QuotesBear...
[DEBUG][20:52:11] Running bear PEP8Bear...
[DEBUG][20:52:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:11] Running bear AnnotationBear...
[DEBUG][20:52:11] Running bear QuotesBear...
[DEBUG][20:52:11] Running bear PEP8Bear...
[DEBUG][20:52:11] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][20:52:11] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][20:52:11] Running bear PycodestyleBear...
[DEBUG][20:52:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/export/gitman.py'
[DEBUG][20:52:11] Running bear PycodestyleBear...
[DEBUG][20:52: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_hosts/gitlab.py'
[DEBUG][20:52:11] Running bear PyFlakesBear...
[DEBUG][20:52:11] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/export/gitman.py'
[DEBUG][20:52:11] Running bear PyFlakesBear...
[DEBUG][20:52:11] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][20:52:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:11] Running bear AnnotationBear...
[DEBUG][20:52:11] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:11] Running bear AnnotationBear...
[DEBUG][20:52:11] Running bear QuotesBear...
[DEBUG][20:52:11] Running bear PEP8Bear...
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /home/travis/build/ksdme/org-status/org_status/export/gitman.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/export/gitman.py
|  10|  10|     @classmethod
|  11|  11|     def convert_org_list_to_format(cls, repos):
|  12|  12|         repo_data = []
|    |  13|+
|    |  14|+
|  13|  15| it
|  14|    |-        for repo in repos:
|  15|    |-            name = furl(repo.repo_url).path.segments[1]
|  16|    |-            repo_data.append({'name': name,
|  17|    |-                              'repo': repo.repo_url,
|  18|    |-                              'rev': 'master'})
|    |  16|+   for repo in repos:
|    |  17|+        name = furl(repo.repo_url).path.segments[1]
|    |  18|+        repo_data.append({'name': name,
|    |  19|+                          'repo': repo.repo_url,
|    |  20|+                          'rev': 'master'})
|  19|  21| 
|  20|    |-        return yaml.dump(repo_data)
|    |  22|+    return yaml.dump(repo_data)
[INFO][20:52:11] Applied 'ShowPatchAction' on 'org_status/export/gitman.py' from 'PEP8Bear'.
[WARNING][20:52:11] PycodestyleBear (E305): This result has no patch attached.
[WARNING][20:52:11] PycodestyleBear (E113): This result has no patch attached.
[WARNING][20:52:11] PyFlakesBear: This result has no patch attached.

org_status/export/gitman.py
[DEBUG][20:52:11] Running bear PycodestyleBear...
[DEBUG][20:52: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][20:52:12] Running bear QuotesBear...
[DEBUG][20:52:12] Running bear PEP8Bear...
[DEBUG][20:52:12] Running bear PyFlakesBear...
[DEBUG][20:52:12] Running bear PycodestyleBear...
[DEBUG][20:52:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][20:52: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'
|  13| it
|    | [NORMAL] PycodestyleBear (E305):
|    | E305 expected 2 blank lines after class or function definition, found 0

org_status/export/gitman.py
|  14| ········for·repo·in·repos:
|    | [NORMAL] PycodestyleBear (E113):
|    | E113 unexpected indentation

org_status/export/gitman.py
|   8| ····NAME·=·'gitman'
|    | [INFO] PyFlakesBear:
|    | unexpected indent
[DEBUG][20:52:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:12] Running bear AnnotationBear...
[DEBUG][20:52:12] Running bear QuotesBear...
[DEBUG][20:52:12] Running bear PEP8Bear...
[DEBUG][20:52:12] Running bear PycodestyleBear...
[DEBUG][20:52:12] 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][20:52:12] Running bear PyFlakesBear...
[DEBUG][20:52:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][20:52:12] Running bear PyFlakesBear...
[DEBUG][20:52:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][20:52:12] Running bear AnnotationBear...
[DEBUG][20:52:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:12] Running bear QuotesBear...
[DEBUG][20:52:12] Running bear PEP8Bear...
[DEBUG][20:52:12] Running bear PycodestyleBear...
[DEBUG][20:52:12] 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][20:52:12] Running bear PyFlakesBear...
[DEBUG][20:52:12] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][20:52:12] Running bear AnnotationBear...
[DEBUG][20:52:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:12] Running bear QuotesBear...
[DEBUG][20:52:12] Running bear PEP8Bear...
[DEBUG][20:52:12] Running bear AnnotationBear...
[DEBUG][20:52:12] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:12] Running bear QuotesBear...
[DEBUG][20:52:12] Running bear PEP8Bear...
[DEBUG][20:52:12] Running bear PycodestyleBear...
[DEBUG][20:52: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][20:52:13] Running bear PycodestyleBear...
[DEBUG][20:52: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][20:52:13] Running bear PyFlakesBear...
[DEBUG][20:52:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][20:52:13] Running bear PyFlakesBear...
[DEBUG][20:52:13] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][20:52:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:13] Running bear AnnotationBear...
[DEBUG][20:52:13] Running bear QuotesBear...
[DEBUG][20:52:13] Running bear PEP8Bear...
[DEBUG][20:52:13] Running bear PycodestyleBear...
[DEBUG][20:52: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/__init__.py'
[DEBUG][20:52:13] Running bear AnnotationBear...
[DEBUG][20:52:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:13] Running bear QuotesBear...
[DEBUG][20:52:13] Running bear PEP8Bear...
[DEBUG][20:52:13] Running bear PycodestyleBear...
[DEBUG][20:52: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/travis.py'
[DEBUG][20:52:13] Running bear PyFlakesBear...
[DEBUG][20:52:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][20:52:13] Running bear PyFlakesBear...
[DEBUG][20:52:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][20:52:13] Running bear AnnotationBear...
[DEBUG][20:52:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:13] Running bear QuotesBear...
[DEBUG][20:52:13] Running bear PEP8Bear...
[DEBUG][20:52:13] Running bear PycodestyleBear...
[DEBUG][20:52: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][20:52:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:13] Running bear AnnotationBear...
[DEBUG][20:52:13] Running bear QuotesBear...
[DEBUG][20:52:13] Running bear PEP8Bear...
[DEBUG][20:52:13] Running bear PycodestyleBear...
[DEBUG][20:52:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/org_status/export/__init__.py'
[DEBUG][20:52:13] Running bear PyFlakesBear...
[DEBUG][20:52:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][20:52:13] Running bear PyFlakesBear...
[DEBUG][20:52:13] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/export/__init__.py'
[DEBUG][20:52:13] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][20:52:13] Running bear AnnotationBear...
[DEBUG][20:52:13] Running bear QuotesBear...
[DEBUG][20:52:13] Running bear PEP8Bear...
[DEBUG][20:52:13] Running bear PycodestyleBear...
[DEBUG][20:52: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][20:52:14] Running bear PyFlakesBear...
[DEBUG][20:52:14] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
Executing section all.linelength...
[DEBUG][20:52:14] Files that will be checked:
/home/travis/build/ksdme/org-status/setup.py
/home/travis/build/ksdme/org-status/org_status/export/__init__.py
/home/travis/build/ksdme/org-status/org_status/export/gitman.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/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][20:52: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][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
[DEBUG][20:52:14] Running bear LineLengthBear...
Executing section cli...
[DEBUG][20:52:14] Files that will be checked:
[DEBUG][20:52: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: 2f69ff10-e398-11e8-8936-1328ec1a4b2b

@kx-chen kx-chen force-pushed the org-repositories branch 2 times, most recently from 353e6d4 to 3189392 Compare November 8, 2018 21:16
org_status/encoders/__init__.py Outdated Show resolved Hide resolved
org_status/encoders/__init__.py Outdated Show resolved Hide resolved
org_status/encoders/__init__.py Outdated Show resolved Hide resolved
org_status/encoders/gitman.py Outdated Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
@kx-chen kx-chen force-pushed the org-repositories branch 2 times, most recently from 026035f to 3051e3d Compare November 9, 2018 04:43
@TravisBuddy
Copy link

Travis tests have failed

Hey @kx-chen,
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][04:44:12] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][04:44: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/__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/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][04:44: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.whitespace...
[DEBUG][04:44: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/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.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][04:44: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][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
[DEBUG][04:44:13] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][04:44: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/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.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][04:44: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.
Executing section all.python.default...
[DEBUG][04:44: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/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.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][04:44:14] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][04:44:14] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][04:44:14] returning CommandNode(command=['-m'] redirects={})
[DEBUG][04:44:14] returning CommandNode(command=['pip'] redirects={})
[DEBUG][04:44:14] returning CommandNode(command=['show'] redirects={})
[DEBUG][04:44:14] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][04:44:14] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][04:44:14] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][04:44:14] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][04:44:14] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][04:44:14] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][04:44:14] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][04:44:14] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][04:44:14] 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 0x7fee6d87a558>, '_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': 4425, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][04:44:14] Created thread Thread-4 as reader for Capture-1
[DEBUG][04:44:14] Capture-1: reader thread about to read line
[DEBUG][04:44:14] Capture-1: reader thread kicked off, waiting start
[DEBUG][04:44:14] Capture-1: reader thread now started
[DEBUG][04:44:14] Created thread Thread-5 as reader for Capture-2
[DEBUG][04:44:14] Capture-2: reader thread about to read line
[DEBUG][04:44:14] Capture-2: reader thread kicked off, waiting start
[DEBUG][04:44:14] Capture-2: reader thread now started
[DEBUG][04:44:14] about to wait for process
[DEBUG][04:44:14] queued chunk of length 15 to <queue.Queue object at 0x7fee6c5ff630>: b'Name: autopep8\n'
[DEBUG][04:44:14] queued chunk of length 15 to <queue.Queue object at 0x7fee6c5ff630>: b'Version: 1.4.2\n'
[DEBUG][04:44:14] queued chunk of length 91 to <queue.Queue object at 0x7fee6c5ff630>: b'Summary: A tool that automatic'
[DEBUG][04:44:14] queued chunk of length 46 to <queue.Queue object at 0x7fee6c5ff630>: b'Home-page: https://github.com/'
[DEBUG][04:44:14] queued chunk of length 22 to <queue.Queue object at 0x7fee6c5ff630>: b'Author: Hideo Hattori\n'
[DEBUG][04:44:14] queued chunk of length 34 to <queue.Queue object at 0x7fee6c5ff630>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][04:44:14] queued chunk of length 23 to <queue.Queue object at 0x7fee6c5ff630>: b'License: Expat License\n'
[DEBUG][04:44:14] queued chunk of length 74 to <queue.Queue object at 0x7fee6c5ff630>: b'Location: /home/travis/virtual'
[DEBUG][04:44:14] queued chunk of length 22 to <queue.Queue object at 0x7fee6c5ff630>: b'Requires: pycodestyle\n'
[DEBUG][04:44:14] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][04:44:14] 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][04:44:14] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][04:44:14] pipeline closing
[DEBUG][04:44: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][04:44:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:14] Running bear AnnotationBear...
[DEBUG][04:44:14] Running bear AnnotationBear...
[DEBUG][04:44:14] Running bear QuotesBear...
[DEBUG][04:44:14] Running bear PEP8Bear...
[DEBUG][04:44:14] Running bear PycodestyleBear...
[DEBUG][04:44:14] 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][04:44:14] Running bear QuotesBear...
[DEBUG][04:44:14] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][04:44:14] Running bear PEP8Bear...
[DEBUG][04:44:14] Running bear PyFlakesBear...
[DEBUG][04:44:14] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][04:44:14] Running bear PycodestyleBear...
[DEBUG][04:44: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][04:44:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:14] Running bear AnnotationBear...
[DEBUG][04:44:14] Running bear QuotesBear...
[DEBUG][04:44:14] Running bear PEP8Bear...
[DEBUG][04:44:14] Running bear PycodestyleBear...
[DEBUG][04:44: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/gitman.py'
[DEBUG][04:44:14] Running bear PyFlakesBear...
[DEBUG][04:44:14] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][04:44:14] Running bear PyFlakesBear...
[DEBUG][04:44:14] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/gitman.py'
[DEBUG][04:44:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:14] Running bear AnnotationBear...
|    | [NORMAL] QuotesBear:
|    | You do not use the preferred quotation marks.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_status.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_status.py
| 175| 175|         try:
| 176| 176|             with open(export_file, 'w') as file:
| 177| 177|                 file.write(export_data)
| 178|    |-                verbose(f"exported repo list as {args.format}")
|    | 178|+                verbose(f'exported repo list as {args.format}')
| 179| 179| 
| 180| 180|         except FileNotFoundError:
| 181| 181|             print(styled(f'unable to find file {args.export_orgs}', 'red'))
[INFO][04:44:14] Applied 'ShowPatchAction' on 'org_status/org_status.py' from 'QuotesBear'.
[DEBUG][04:44:14] Running bear QuotesBear...
[DEBUG][04:44:14] Running bear PEP8Bear...
[DEBUG][04:44:14] Running bear AnnotationBear...
[DEBUG][04:44:14] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:14] Running bear QuotesBear...
[DEBUG][04:44:14] Running bear PEP8Bear...
[DEBUG][04:44:14] Running bear PycodestyleBear...
[DEBUG][04:44:14] 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][04:44:15] Running bear PyFlakesBear...
[DEBUG][04:44:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][04:44:15] Running bear PycodestyleBear...
[DEBUG][04:44:15] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][04:44:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:15] Running bear AnnotationBear...
[DEBUG][04:44:15] Running bear QuotesBear...
[DEBUG][04:44:15] Running bear PEP8Bear...
[DEBUG][04:44:15] Running bear PycodestyleBear...
[DEBUG][04:44: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][04:44:15] Running bear PyFlakesBear...
[DEBUG][04:44:15] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][04:44:15] Running bear PyFlakesBear...
[DEBUG][04:44:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][04:44:15] Running bear AnnotationBear...
[DEBUG][04:44:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:15] Running bear QuotesBear...
[DEBUG][04:44:15] Running bear PEP8Bear...
[DEBUG][04:44:15] Running bear PycodestyleBear...
[DEBUG][04:44: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/gitlab_ci.py'
[DEBUG][04:44:15] Running bear AnnotationBear...
[DEBUG][04:44:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:15] Running bear QuotesBear...
[DEBUG][04:44:15] Running bear PEP8Bear...
[DEBUG][04:44:15] Running bear PycodestyleBear...
[DEBUG][04:44: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][04:44:15] Running bear PyFlakesBear...
[DEBUG][04:44:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][04:44:15] Running bear PyFlakesBear...
[DEBUG][04:44:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][04:44:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:15] Running bear AnnotationBear...
[DEBUG][04:44:15] Running bear QuotesBear...
[DEBUG][04:44:15] Running bear PEP8Bear...
[DEBUG][04:44:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:15] Running bear AnnotationBear...
[DEBUG][04:44:15] Running bear PycodestyleBear...
[DEBUG][04:44: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/__init__.py'
[DEBUG][04:44:15] Running bear QuotesBear...
[DEBUG][04:44:15] Running bear PEP8Bear...
[DEBUG][04:44:15] Running bear PycodestyleBear...
[DEBUG][04:44: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/github.py'
[DEBUG][04:44:15] Running bear PyFlakesBear...
[DEBUG][04:44:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][04:44:15] Running bear PyFlakesBear...
[DEBUG][04:44:15] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][04:44:15] Running bear AnnotationBear...
[DEBUG][04:44:15] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:15] Running bear QuotesBear...
[DEBUG][04:44:15] Running bear PEP8Bear...
[DEBUG][04:44:15] Running bear PycodestyleBear...
[DEBUG][04:44: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/__init__.py'
[DEBUG][04:44:16] Running bear AnnotationBear...
[DEBUG][04:44:16] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:16] Running bear QuotesBear...
[DEBUG][04:44:16] Running bear PEP8Bear...
[DEBUG][04:44:16] Running bear PycodestyleBear...
[DEBUG][04:44:16] 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][04:44:16] Running bear PyFlakesBear...
[DEBUG][04:44:16] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/__init__.py'
[DEBUG][04:44:16] Running bear PyFlakesBear...
[DEBUG][04:44:16] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][04:44:16] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:16] Running bear AnnotationBear...
[DEBUG][04:44:16] Running bear QuotesBear...
[DEBUG][04:44:16] Running bear PEP8Bear...
[DEBUG][04:44:16] Running bear PycodestyleBear...
[DEBUG][04:44:16] 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][04:44:16] Running bear PyFlakesBear...
[DEBUG][04:44:16] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
Executing section all.linelength...
[DEBUG][04:44: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/__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/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][04:44: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][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
[DEBUG][04:44:16] Running bear LineLengthBear...
Executing section cli...
[DEBUG][04:44:17] Files that will be checked:
[DEBUG][04:44: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: 208eb840-e3da-11e8-b310-57bc1b8e3114

@TravisBuddy
Copy link

Travis tests have failed

Hey @kx-chen,
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][04:44:50] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][04:44: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/__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/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][04:44: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][04:44: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/__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/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][04:44: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][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
[DEBUG][04:44:51] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][04:44: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/__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/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][04:44: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][04:44: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/__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/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][04:44:51] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][04:44:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][04:44:51] returning CommandNode(command=['-m'] redirects={})
[DEBUG][04:44:51] returning CommandNode(command=['pip'] redirects={})
[DEBUG][04:44:51] returning CommandNode(command=['show'] redirects={})
[DEBUG][04:44:51] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][04:44:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][04:44:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][04:44:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][04:44:51] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][04:44:51] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][04:44:51] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][04:44:51] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][04:44: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 0x7fcab662f4b8>, '_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': 4410, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][04:44:51] Created thread Thread-4 as reader for Capture-1
[DEBUG][04:44:51] Capture-1: reader thread about to read line
[DEBUG][04:44:51] Capture-1: reader thread kicked off, waiting start
[DEBUG][04:44:51] Capture-1: reader thread now started
[DEBUG][04:44:51] Created thread Thread-5 as reader for Capture-2
[DEBUG][04:44:51] Capture-2: reader thread about to read line
[DEBUG][04:44:51] Capture-2: reader thread kicked off, waiting start
[DEBUG][04:44:51] Capture-2: reader thread now started
[DEBUG][04:44:51] about to wait for process
[DEBUG][04:44:52] queued chunk of length 15 to <queue.Queue object at 0x7fcab53c4198>: b'Name: autopep8\n'
[DEBUG][04:44:52] queued chunk of length 15 to <queue.Queue object at 0x7fcab53c4198>: b'Version: 1.4.2\n'
[DEBUG][04:44:52] queued chunk of length 91 to <queue.Queue object at 0x7fcab53c4198>: b'Summary: A tool that automatic'
[DEBUG][04:44:52] queued chunk of length 46 to <queue.Queue object at 0x7fcab53c4198>: b'Home-page: https://github.com/'
[DEBUG][04:44:52] queued chunk of length 22 to <queue.Queue object at 0x7fcab53c4198>: b'Author: Hideo Hattori\n'
[DEBUG][04:44:52] queued chunk of length 34 to <queue.Queue object at 0x7fcab53c4198>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][04:44:52] queued chunk of length 23 to <queue.Queue object at 0x7fcab53c4198>: b'License: Expat License\n'
[DEBUG][04:44:52] queued chunk of length 74 to <queue.Queue object at 0x7fcab53c4198>: b'Location: /home/travis/virtual'
[DEBUG][04:44:52] queued chunk of length 22 to <queue.Queue object at 0x7fcab53c4198>: b'Requires: pycodestyle\n'
[DEBUG][04:44:52] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][04:44:52] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][04:44: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][04:44:52] pipeline closing
[DEBUG][04:44: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][04:44:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:52] Running bear AnnotationBear...
[DEBUG][04:44:52] Running bear AnnotationBear...
[DEBUG][04:44:52] Running bear QuotesBear...
[DEBUG][04:44:52] Running bear PEP8Bear...
[DEBUG][04:44:52] Running bear QuotesBear...
[DEBUG][04:44:52] Running bear PEP8Bear...
[DEBUG][04:44:52] Running bear PycodestyleBear...
[DEBUG][04:44: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][04:44:52] Running bear PycodestyleBear...
[DEBUG][04:44: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/travis.py'
[DEBUG][04:44:52] Running bear PyFlakesBear...
[DEBUG][04:44:52] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][04:44:52] Running bear PyFlakesBear...
[DEBUG][04:44:52] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][04:44:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:52] Running bear AnnotationBear...
[DEBUG][04:44:52] Running bear AnnotationBear...
[DEBUG][04:44:52] Running bear QuotesBear...
[DEBUG][04:44:52] Running bear PEP8Bear...
[DEBUG][04:44:52] Running bear QuotesBear...
[DEBUG][04:44:52] Running bear PEP8Bear...
[DEBUG][04:44:52] Running bear PycodestyleBear...
[DEBUG][04:44:52] 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][04:44:52] Running bear PycodestyleBear...
[DEBUG][04:44: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/__init__.py'
[DEBUG][04:44:52] Running bear PyFlakesBear...
[DEBUG][04:44:52] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][04:44:52] Running bear PyFlakesBear...
[DEBUG][04:44:52] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
[DEBUG][04:44:52] Running bear AnnotationBear...
[DEBUG][04:44:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:52] Running bear QuotesBear...
[DEBUG][04:44:52] Running bear PEP8Bear...
[DEBUG][04:44:52] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:52] Running bear AnnotationBear...
[DEBUG][04:44:52] Running bear QuotesBear...
[DEBUG][04:44:52] Running bear PEP8Bear...
[DEBUG][04:44:53] Running bear PycodestyleBear...
[DEBUG][04:44:53] 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][04:44:53] Running bear PycodestyleBear...
[DEBUG][04:44: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/__init__.py'
[DEBUG][04:44:53] Running bear PyFlakesBear...
[DEBUG][04:44:53] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][04:44:53] Running bear PyFlakesBear...
[DEBUG][04:44:53] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][04:44:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:53] Running bear AnnotationBear...
[DEBUG][04:44:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:53] Running bear AnnotationBear...
[DEBUG][04:44:53] Running bear QuotesBear...
[DEBUG][04:44:53] Running bear PEP8Bear...
[DEBUG][04:44:53] Running bear PycodestyleBear...
[DEBUG][04:44: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/__init__.py'
[DEBUG][04:44:53] Running bear QuotesBear...
[DEBUG][04:44:53] Running bear PEP8Bear...
[DEBUG][04:44:53] Running bear PyFlakesBear...
[DEBUG][04:44:53] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/__init__.py'
[DEBUG][04:44:53] Running bear AnnotationBear...
[DEBUG][04:44:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:53] Running bear QuotesBear...
[DEBUG][04:44:53] Running bear PEP8Bear...
[DEBUG][04:44:53] Running bear PycodestyleBear...
[DEBUG][04:44:53] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][04:44:53] Running bear PycodestyleBear...
[DEBUG][04:44:53] 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][04:44:53] Running bear PyFlakesBear...
[DEBUG][04:44:53] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'
[DEBUG][04:44:53] Running bear PyFlakesBear...
[DEBUG][04:44:53] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][04:44:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:53] Running bear AnnotationBear...
[DEBUG][04:44:53] Running bear QuotesBear...
[DEBUG][04:44:53] Running bear PEP8Bear...
[DEBUG][04:44:53] Running bear AnnotationBear...
[DEBUG][04:44:53] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:53] Running bear PycodestyleBear...
[DEBUG][04:44: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][04:44:53] Running bear QuotesBear...
[DEBUG][04:44:53] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument
[DEBUG][04:44:53] Running bear PEP8Bear...
[DEBUG][04:44:54] Running bear PyFlakesBear...
[DEBUG][04:44:54] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/gitman.py'
[DEBUG][04:44:54] Running bear PycodestyleBear...
[DEBUG][04:44: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][04:44:54] Running bear AnnotationBear...
[DEBUG][04:44:54] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][04:44:54] Running bear QuotesBear...
[DEBUG][04:44:54] Running bear PEP8Bear...
[DEBUG][04:44:54] Running bear PycodestyleBear...
[DEBUG][04:44:54] 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][04:44:54] Running bear PyFlakesBear...
[DEBUG][04:44:54] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][04:44:54] Running bear PyFlakesBear...
[DEBUG][04:44:54] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
|    | [NORMAL] QuotesBear:
[DEBUG][04:44:54] Running bear AnnotationBear...
[DEBUG][04:44:54] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
|    | You do not use the preferred quotation marks.
|----|    | /home/travis/build/ksdme/org-status/org_status/org_status.py
|    |++++| /home/travis/build/ksdme/org-status/org_status/org_status.py
| 175| 175|         try:
| 176| 176|             with open(export_file, 'w') as file:
| 177| 177|                 file.write(export_data)
| 178|    |-                verbose(f"exported repo list as {args.format}")
|    | 178|+                verbose(f'exported repo list as {args.format}')
| 179| 179| 
| 180| 180|         except FileNotFoundError:
| 181| 181|             print(styled(f'unable to find file {args.export_orgs}', 'red'))
[INFO][04:44:54] Applied 'ShowPatchAction' on 'org_status/org_status.py' from 'QuotesBear'.
[DEBUG][04:44:54] Running bear QuotesBear...
[DEBUG][04:44:54] Running bear PEP8Bear...
[DEBUG][04:44:54] Running bear PycodestyleBear...
[DEBUG][04:44:54] 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][04:44:54] Running bear PyFlakesBear...
[DEBUG][04:44:54] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
Executing section all.linelength...
[DEBUG][04:44:54] 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/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.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][04:44:54] 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][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
[DEBUG][04:44:54] Running bear LineLengthBear...
Executing section cli...
[DEBUG][04:44:55] Files that will be checked:
[DEBUG][04:44: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.
TravisBuddy Request Identifier: 3573d740-e3da-11e8-b310-57bc1b8e3114

org_status/encoders/__init__.py Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
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 @kx-chen,
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][09:35:41] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][09:35: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/__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/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][09:35: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.whitespace...
[DEBUG][09:35: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/__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/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][09:35: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][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
[DEBUG][09:35:41] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][09:35: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/__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/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][09:35: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][09:35:42] 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/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.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][09:35:42] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][09:35:42] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][09:35:42] returning CommandNode(command=['-m'] redirects={})
[DEBUG][09:35:42] returning CommandNode(command=['pip'] redirects={})
[DEBUG][09:35:42] returning CommandNode(command=['show'] redirects={})
[DEBUG][09:35:42] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][09:35:42] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][09:35:42] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][09:35:42] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][09:35:42] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][09:35:42] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][09:35:42] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][09:35:42] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][09:35:42] 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 0x7f57c2ba65f8>, '_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': 4358, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][09:35:42] Created thread Thread-4 as reader for Capture-1
[DEBUG][09:35:42] Capture-1: reader thread about to read line
[DEBUG][09:35:42] Capture-1: reader thread kicked off, waiting start
[DEBUG][09:35:42] Capture-1: reader thread now started
[DEBUG][09:35:42] Created thread Thread-5 as reader for Capture-2
[DEBUG][09:35:42] Capture-2: reader thread about to read line
[DEBUG][09:35:42] Capture-2: reader thread kicked off, waiting start
[DEBUG][09:35:42] Capture-2: reader thread now started
[DEBUG][09:35:42] about to wait for process
[DEBUG][09:35:42] queued chunk of length 15 to <queue.Queue object at 0x7f57c19305c0>: b'Name: autopep8\n'
[DEBUG][09:35:42] queued chunk of length 15 to <queue.Queue object at 0x7f57c19305c0>: b'Version: 1.4.2\n'
[DEBUG][09:35:42] queued chunk of length 91 to <queue.Queue object at 0x7f57c19305c0>: b'Summary: A tool that automatic'
[DEBUG][09:35:42] queued chunk of length 46 to <queue.Queue object at 0x7f57c19305c0>: b'Home-page: https://github.com/'
[DEBUG][09:35:42] queued chunk of length 22 to <queue.Queue object at 0x7f57c19305c0>: b'Author: Hideo Hattori\n'
[DEBUG][09:35:42] queued chunk of length 34 to <queue.Queue object at 0x7f57c19305c0>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][09:35:42] queued chunk of length 23 to <queue.Queue object at 0x7f57c19305c0>: b'License: Expat License\n'
[DEBUG][09:35:42] queued chunk of length 74 to <queue.Queue object at 0x7f57c19305c0>: b'Location: /home/travis/virtual'
[DEBUG][09:35:42] queued chunk of length 22 to <queue.Queue object at 0x7f57c19305c0>: b'Requires: pycodestyle\n'
[DEBUG][09:35:42] Capture-1: finished reading stream <_io.BufferedReader name=17>
[DEBUG][09:35:42] Capture-2: finished reading stream <_io.BufferedReader name=19>
[DEBUG][09:35:42] 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][09:35:42] pipeline closing
[DEBUG][09:35:42] 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][09:35:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:42] Running bear AnnotationBear...
[DEBUG][09:35:42] Running bear AnnotationBear...
[DEBUG][09:35:42] Running bear QuotesBear...
[DEBUG][09:35:42] Running bear PEP8Bear...
[DEBUG][09:35:42] Running bear QuotesBear...
[DEBUG][09:35:42] Running bear PEP8Bear...
[DEBUG][09:35:42] Running bear PycodestyleBear...
[DEBUG][09:35:42] 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][09:35:42] Running bear PycodestyleBear...
[DEBUG][09:35: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/travis.py'
[DEBUG][09:35:42] Running bear PyFlakesBear...
[DEBUG][09:35:42] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__main__.py'
[DEBUG][09:35:42] Running bear PyFlakesBear...
[DEBUG][09:35:42] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/travis.py'
[DEBUG][09:35:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:42] Running bear AnnotationBear...
[DEBUG][09:35:42] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:42] Running bear AnnotationBear...
[DEBUG][09:35:42] Running bear QuotesBear...
[DEBUG][09:35:42] Running bear PEP8Bear...
[DEBUG][09:35:42] Running bear PycodestyleBear...
[DEBUG][09:35:42] 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][09:35:42] Running bear QuotesBear...
[DEBUG][09:35:42] Running bear PEP8Bear...
[DEBUG][09:35:42] Running bear PyFlakesBear...
[DEBUG][09:35:42] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/__init__.py'
[DEBUG][09:35:43] Running bear PycodestyleBear...
[DEBUG][09:35: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][09:35:43] Running bear AnnotationBear...
[DEBUG][09:35:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:43] Running bear QuotesBear...
[DEBUG][09:35:43] Running bear PEP8Bear...
[DEBUG][09:35:43] Running bear PyFlakesBear...
[DEBUG][09:35:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_status.py'
[DEBUG][09:35:43] Running bear PycodestyleBear...
[DEBUG][09:35: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'
[WARNING][09:35:43] PycodestyleBear (E501): This result has no patch attached.
[DEBUG][09:35:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:43] Running bear AnnotationBear...
[DEBUG][09:35:43] Running bear PyFlakesBear...
[DEBUG][09:35:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/github.py'

org_status/org_status.py
[DEBUG][09:35:43] Running bear QuotesBear...
[DEBUG][09:35:43] Running bear PEP8Bear...
[DEBUG][09:35:43] Running bear PycodestyleBear...
[DEBUG][09:35: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/gitlab.py'
[DEBUG][09:35:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:43] Running bear AnnotationBear...
[DEBUG][09:35:43] Running bear QuotesBear...
[DEBUG][09:35:43] Running bear PEP8Bear...
[DEBUG][09:35:43] Running bear PycodestyleBear...
[DEBUG][09:35: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/__init__.py'
| 104| ················print(styled(f'{encoder_name}·does·not·support·exporting·results',
|    | [NORMAL] PycodestyleBear (E501):
|    | E501 line too long (82 > 80 characters)
[DEBUG][09:35:43] Running bear PyFlakesBear...
[DEBUG][09:35:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/gitlab.py'
[DEBUG][09:35:43] Running bear PyFlakesBear...
[DEBUG][09:35:43] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/__init__.py'
[DEBUG][09:35:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:43] Running bear AnnotationBear...
[DEBUG][09:35:43] Running bear QuotesBear...
[DEBUG][09:35:43] Running bear PEP8Bear...
[DEBUG][09:35:43] Running bear PycodestyleBear...
[DEBUG][09:35: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/appveyor.py'
[DEBUG][09:35:43] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:43] Running bear AnnotationBear...
[DEBUG][09:35:43] Running bear QuotesBear...
[DEBUG][09:35:43] Running bear PEP8Bear...
[DEBUG][09:35:43] Running bear PycodestyleBear...
[DEBUG][09:35: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][09:35:44] Running bear PyFlakesBear...
[DEBUG][09:35:44] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/appveyor.py'
[DEBUG][09:35:44] Running bear PyFlakesBear...
[DEBUG][09:35:44] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/encoders/gitman.py'
[DEBUG][09:35:44] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:44] Running bear AnnotationBear...
[DEBUG][09:35:44] Running bear QuotesBear...
[DEBUG][09:35:44] Running bear PEP8Bear...
[DEBUG][09:35:44] Running bear PycodestyleBear...
[DEBUG][09:35:44] 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][09:35:44] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:44] Running bear AnnotationBear...
[DEBUG][09:35:44] Running bear PyFlakesBear...
[DEBUG][09:35:44] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/gitlab_ci.py'
[DEBUG][09:35:44] Running bear QuotesBear...
[DEBUG][09:35:44] Running bear PEP8Bear...
[DEBUG][09:35:44] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:44] Running bear AnnotationBear...
[DEBUG][09:35:44] Running bear QuotesBear...
[DEBUG][09:35:44] Running bear PEP8Bear...
[DEBUG][09:35:44] Running bear PycodestyleBear...
[DEBUG][09:35:44] 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][09:35:44] Running bear PycodestyleBear...
[DEBUG][09:35:44] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][09:35:44] Running bear PyFlakesBear...
[DEBUG][09:35:44] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/status_providers/__init__.py'
[DEBUG][09:35:44] LanguageDefinition has been deprecated! Use `coalib.bearlib.languages.Language` instead.
[DEBUG][09:35:44] Running bear AnnotationBear...
[DEBUG][09:35:44] Running bear PyFlakesBear...
[DEBUG][09:35:44] Running 'pyflakes /home/travis/build/ksdme/org-status/setup.py'
[DEBUG][09:35:44] Running bear QuotesBear...
[DEBUG][09:35:44] Running bear PEP8Bear...
[DEBUG][09:35:44] Running bear PycodestyleBear...
[DEBUG][09:35: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][09:35:45] Running bear PyFlakesBear...
[DEBUG][09:35:45] Running 'pyflakes /home/travis/build/ksdme/org-status/org_status/org_hosts/__init__.py'
Executing section all.linelength...
[DEBUG][09:35:45] 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/encoders/__init__.py
/home/travis/build/ksdme/org-status/org_status/encoders/gitman.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][09:35: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.
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[DEBUG][09:35:45] Running bear LineLengthBear...
[WARNING][09:35:45] LineLengthBear: This result has no patch attached.

org_status/org_status.py
| 104| ················print(styled(f'{encoder_name}·does·not·support·exporting·results',
|    | [NORMAL] LineLengthBear:
|    | Line is longer than allowed. (82 > 80)
[DEBUG][09:35:45] Running bear LineLengthBear...
Executing section cli...
[DEBUG][09:35:45] Files that will be checked:
[DEBUG][09:35: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: d8bb2110-e402-11e8-b310-57bc1b8e3114

@kx-chen kx-chen force-pushed the org-repositories branch 2 times, most recently from 5a1748f to 432cfbf Compare November 9, 2018 09:52
@kx-chen kx-chen changed the title WIP: Add support to export list of org repo Add support to export list of org repo Nov 9, 2018
org_status/org_status.py Outdated Show resolved Hide resolved

return parser


def encode_repo_list(repo_data, encoder_name, styled):
Copy link
Owner

Choose a reason for hiding this comment

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

Please don't have this method acess styled as an argument, this would make it tough for us to move over to a standard logger when we decide to do that. A better way would be to have this method return appropriate values or raise exceptions that should be caught and processed in main(). This method should not have these kind of side effects.

Copy link
Owner

Choose a reason for hiding this comment

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

Deferred to be part of #23.

org_status/org_status.py Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
org_status/org_status.py Outdated Show resolved Hide resolved
Add option to export list of org repos into different formats.

Closes ksdme#6
org_status/encoders/__init__.py Show resolved Hide resolved
org_status/encoders/gitman.py Show resolved Hide resolved
@ksdme ksdme merged commit 4e421bf into ksdme:master Nov 9, 2018
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