coala / corobo

A bot to help newcomers onboard OS projects! It's awesome!
MIT License
66 stars 103 forks source link

DefaultConfigMixin: Modify implementation #597

Closed nvzard closed 6 years ago

nvzard commented 6 years ago

Store the default values in CONFIG_TEMPLATE and then allow a subset of those config variables overridden in the config.py's DEFAULT_CONFIG.

Closes https://github.com/coala/corobo/issues/596

TravisBuddy commented 6 years ago

Travis tests have failed

Hey @nvzard, 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

python -m pytest ``` ============================= test session starts ============================== platform linux -- Python 3.6.3, pytest-3.6.4, py-1.5.2, pluggy-0.6.0 rootdir: /home/travis/build/coala/corobo, inifile: setup.cfg plugins: requests-mock-1.5.2, xdist-1.22.5, travis-fold-1.3.0, timeout-1.3.1, reqs-0.0.7, reorder-0.1.1, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1 collected 40 items tests/answer_test.py . [ 2%] tests/ban_test.py .. [ 7%] tests/coala_lowercase_c_test.py .. [ 12%] tests/coatils_test.py ........... [ 40%] tests/deprecate_bot_prefixes_test.py . [ 42%] tests/explain_test.py . [ 45%] tests/ghetto_test.py . [ 47%] tests/git_stats_test.py . [ 50%] tests/labhub_test.py ......... [ 72%] tests/lmgtfy_test.py . [ 75%] tests/nevermind_test.py . [ 77%] tests/pitchfork_test.py . [ 80%] tests/searchdocs_test.py E [ 82%] tests/ship_it_test.py . [ 85%] tests/spam_test.py .... [ 95%] tests/the_rules_test.py . [ 97%] tests/wolfram_alpha_test.py . [100%] ==================================== ERRORS ==================================== ______________________ ERROR at setup of test_search_cmd _______________________ request = > @pytest.fixture def testbot(request) -> TestBot: """ Pytest fixture to write tests against a fully functioning bot. For example, if you wanted to test the builtin `!about` command, you could write a test file with the following:: def test_about(testbot): testbot.push_message('!about') assert "Err version" in testbot.pop_message() It's possible to provide additional configuration to this fixture, by setting variables at module level or as class attributes (the latter taking precedence over the former). For example:: extra_plugin_dir = '/foo/bar' def test_about(testbot): testbot.push_message('!about') assert "Err version" in testbot.pop_message() ..or:: extra_plugin_dir = '/foo/bar' class Tests(object): # Wins over `extra_plugin_dir = '/foo/bar'` above extra_plugin_dir = '/foo/baz' def test_about(self, testbot): testbot.push_message('!about') assert "Err version" in testbot.pop_message() ..to load additional plugins from the directory `/foo/bar` or `/foo/baz` respectively. This works for the following items, which are passed to the constructor of :class:`~errbot.backends.test.TestBot`: * `extra_plugin_dir` * `loglevel` """ def on_finish(): bot.stop() # setup the logging to something digestable. logger = logging.getLogger('') logging.getLogger('MARKDOWN').setLevel(logging.ERROR) # this one is way too verbose in debug logger.setLevel(logging.DEBUG) console_hdlr = logging.StreamHandler(sys.stdout) console_hdlr.setFormatter(logging.Formatter("%(levelname)-8s %(name)-25s %(message)s")) logger.handlers = [] logger.addHandler(console_hdlr) kwargs = {} for attr, default in (('extra_plugin_dir', None), ('extra_config', None), ('loglevel', logging.DEBUG),): if hasattr(request, 'instance'): kwargs[attr] = getattr(request.instance, attr, None) if kwargs[attr] is None: kwargs[attr] = getattr(request.module, attr, default) bot = TestBot(**kwargs) > bot.start() ../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:584: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:405: in start if self.bot.pop_message(timeout=1) == "ready": ../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:308: in pop_message return self.outgoing_message_queue.get(timeout=timeout, block=block) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 1 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E queue.Empty /opt/python/3.6.3/lib/python3.6/queue.py:172: Empty travis_fold:start:py-5506.stdout-setup.0 ---------------------------- Captured stdout setup ----------------------------- INFO errbot.bootstrap Found Storage plugin: Memory. INFO errbot.bootstrap Found Backend plugin: Test DEBUG errbot.storage Opening storage 'repomgr' DEBUG errbot.core ErrBot init. DEBUG errbot.backends.base Backend init. DEBUG errbot.core created a thread pool of size 10. DEBUG errbot.storage Opening storage 'core' DEBUG errbot.core Initializing backend storage DEBUG errbot.storage Opening storage 'test_backend' DEBUG errbot.plugin_manager New entries added to sys.path: DEBUG errbot.plugins.Backup Logger for plugin initialized... DEBUG errbot.plugins.TextCmds Logger for plugin initialized... DEBUG errbot.plugins.Utils Logger for plugin initialized... DEBUG errbot.plugins.ACLs Logger for plugin initialized... DEBUG errbot.plugins.Help Logger for plugin initialized... INFO errbot webhooks: Flag to bind /echo to echo DEBUG errbot.plugins.Webserver Logger for plugin initialized... DEBUG errbot.plugins.ChatRoom Logger for plugin initialized... DEBUG errbot.plugins.VersionChecker Logger for plugin initialized... DEBUG errbot.plugins.Health Logger for plugin initialized... DEBUG errbot.plugins.Flows Logger for plugin initialized... DEBUG errbot.plugins.CommandNotFoundFilter Logger for plugin initialized... DEBUG errbot.plugins.Plugins Logger for plugin initialized... DEBUG errbot.plugins.pitchfork Logger for plugin initialized... DEBUG errbot.plugins.deprecate_bot_prefixes Logger for plugin initialized... DEBUG errbot.plugins.explain Logger for plugin initialized... DEBUG errbot.plugins.the_rules Logger for plugin initialized... DEBUG errbot.plugins.ship_it Logger for plugin initialized... DEBUG errbot.plugins.lmgtfy Logger for plugin initialized... DEBUG errbot.plugins.coatils Logger for plugin initialized... DEBUG errbot.plugins.ghetto Logger for plugin initialized... DEBUG errbot.plugins.LabHub Logger for plugin initialized... INFO github3 Building a url from ('https://api.github.com', 'orgs', 'coala') DEBUG github3 GET https://api.github.com/orgs/coala with {} DEBUG urllib3.connectionpool Starting new HTTPS connection (1): api.github.com:443 DEBUG urllib3.connectionpool https://api.github.com:443 "GET /orgs/coala HTTP/1.1" 401 83 DEBUG errbot.plugins.nevermind Logger for plugin initialized... DEBUG errbot.plugins.SpammingAlert Logger for plugin initialized... DEBUG errbot.plugins.wolfram alpha Logger for plugin initialized... DEBUG errbot.plugins.Ban Logger for plugin initialized... DEBUG errbot.plugins.coala_lowercase_c Logger for plugin initialized... DEBUG errbot.plugins.GitStats Logger for plugin initialized... DEBUG errbot.plugins.SearchDocs Logger for plugin initialized... DEBUG errbot.plugins.answer Logger for plugin initialized... ERROR errbot.bootstrap Some plugins failed to load: Contains more than one plugin, only one will be loaded. INFO errbot.core Activate internal commands INFO errbot.plugin_manager Activate bot plugins... INFO errbot.plugin_manager Activate plugin: Backup. DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] DEBUG errbot.botplugin Init storage for Backup. DEBUG errbot.storage Opening storage 'Backup' DEBUG errbot.core Adding command : backup -> backup. INFO errbot.core_plugins.wsview Checking Backup for webhooks INFO errbot.plugin_manager Activate plugin: TextCmds. DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] INFO errbot.core_plugins.wsview Checking TextModeCmds for webhooks INFO errbot.plugin_manager Activate plugin: Utils. DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] DEBUG errbot.botplugin Init storage for Utils. DEBUG errbot.storage Opening storage 'Utils' DEBUG errbot.core Adding command : echo -> echo. DEBUG errbot.core Adding command : history -> history. DEBUG errbot.core Adding command : log_tail -> log_tail. DEBUG errbot.core Adding command : render_test -> render_test. DEBUG errbot.core Adding command : whoami -> whoami. INFO errbot.core_plugins.wsview Checking Utils for webhooks INFO errbot.plugin_manager Activate plugin: ACLs. DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] DEBUG errbot.botplugin Init storage for ACLs. DEBUG errbot.storage Opening storage 'ACLs' DEBUG errbot.core Adding command filter: acls INFO errbot.core_plugins.wsview Checking ACLS for webhooks INFO errbot.plugin_manager Activate plugin: Help. DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] DEBUG errbot.botplugin Init storage for Help. DEBUG errbot.storage Opening storage 'Help' DEBUG errbot.core Adding command : about -> about. DEBUG errbot.core Adding command : apropos -> apropos. DEBUG errbot.core Adding command : help -> help. INFO errbot.core_plugins.wsview Checking Help for webhooks INFO errbot.plugin_manager Activate plugin: Webserver. DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] INFO errbot.plugins.Webserver Webserver is not configured. Forbid activation INFO errbot.core_plugins.wsview Checking Webserver for webhooks INFO errbot.core_plugins.wsview Webhook routing echo INFO errbot.plugin_manager Activate plugin: ChatRoom. DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] DEBUG errbot.botplugin Init storage for ChatRoom. DEBUG errbot.storage Opening storage 'ChatRoom' DEBUG errbot.core Adding command : room_create -> room_create. DEBUG errbot.core Adding command : room_destroy -> room_destroy. DEBUG errbot.core Adding command : room_invite -> room_invite. DEBUG errbot.core Adding command : room_join -> room_join. DEBUG errbot.core Adding command : room_leave -> room_leave. DEBUG errbot.core Adding command : room_list -> room_list. DEBUG errbot.core Adding command : room_occupants -> room_occupants. DEBUG errbot.core Adding command : room_topic -> room_topic. INFO errbot.core_plugins.wsview Checking ChatRoom for webhooks INFO errbot.plugins.ChatRoom Callback_connect DEBUG errbot.plugins.ChatRoom Try to join room 'testroom' INFO errbot.plugins.ChatRoom Joining room testroom with username Errbot. travis_fold:end:py-5506.stdout-setup.0 travis_fold:start:py-5506.stderr-setup.0 ---------------------------- Captured stderr setup ----------------------------- 2018-08-04 19:55:08,097 INFO errbot.bootstrap Found Storage plugin: Memory. 2018-08-04 19:55:08,103 INFO errbot.bootstrap Found Backend plugin: Test 2018-08-04 19:55:08,103 DEBUG errbot.storage Opening storage 'repomgr' 2018-08-04 19:55:08,106 DEBUG errbot.core ErrBot init. 2018-08-04 19:55:08,106 DEBUG errbot.backends.base Backend init. 2018-08-04 19:55:08,109 DEBUG errbot.core created a thread pool of size 10. 2018-08-04 19:55:08,111 DEBUG errbot.storage Opening storage 'core' 2018-08-04 19:55:08,112 DEBUG errbot.core Initializing backend storage 2018-08-04 19:55:08,112 DEBUG errbot.storage Opening storage 'test_backend' 2018-08-04 19:55:08,117 DEBUG errbot.plugin_manager New entries added to sys.path: 2018-08-04 19:55:08,118 DEBUG errbot.plugins.Backup Logger for plugin initialized... 2018-08-04 19:55:08,119 DEBUG errbot.plugins.TextCmds Logger for plugin initialized... 2018-08-04 19:55:08,120 DEBUG errbot.plugins.Utils Logger for plugin initialized... 2018-08-04 19:55:08,121 DEBUG errbot.plugins.ACLs Logger for plugin initialized... 2018-08-04 19:55:08,122 DEBUG errbot.plugins.Help Logger for plugin initialized... 2018-08-04 19:55:08,125 INFO errbot webhooks: Flag to bind /echo to echo 2018-08-04 19:55:08,125 DEBUG errbot.plugins.Webserver Logger for plugin initialized... 2018-08-04 19:55:08,126 DEBUG errbot.plugins.ChatRoom Logger for plugin initialized... 2018-08-04 19:55:08,127 DEBUG errbot.plugins.VersionChecker Logger for plugin initialized... 2018-08-04 19:55:08,130 DEBUG errbot.plugins.Health Logger for plugin initialized... 2018-08-04 19:55:08,133 DEBUG errbot.plugins.Flows Logger for plugin initialized... 2018-08-04 19:55:08,134 DEBUG errbot.plugins.CommandNotFoundFilter Logger for plugin initialized... 2018-08-04 19:55:08,136 DEBUG errbot.plugins.Plugins Logger for plugin initialized... 2018-08-04 19:55:08,137 DEBUG errbot.plugins.pitchfork Logger for plugin initialized... 2018-08-04 19:55:08,138 DEBUG errbot.plugins.deprecate_bot_prefixes Logger for plugin initialized... 2018-08-04 19:55:08,139 DEBUG errbot.plugins.explain Logger for plugin initialized... 2018-08-04 19:55:08,141 DEBUG errbot.plugins.the_rules Logger for plugin initialized... 2018-08-04 19:55:08,142 DEBUG errbot.plugins.ship_it Logger for plugin initialized... 2018-08-04 19:55:08,143 DEBUG errbot.plugins.lmgtfy Logger for plugin initialized... 2018-08-04 19:55:08,167 DEBUG errbot.plugins.coatils Logger for plugin initialized... 2018-08-04 19:55:08,168 DEBUG errbot.plugins.ghetto Logger for plugin initialized... 2018-08-04 19:55:08,169 DEBUG errbot.plugins.LabHub Logger for plugin initialized... 2018-08-04 19:55:08,170 INFO github3 Building a url from ('https://api.github.com', 'orgs', 'coala') 2018-08-04 19:55:08,170 DEBUG github3 GET https://api.github.com/orgs/coala with {} 2018-08-04 19:55:08,173 DEBUG urllib3.connectionpool Starting new HTTPS connection (1): api.github.com:443 2018-08-04 19:55:08,309 DEBUG urllib3.connectionpool https://api.github.com:443 "GET /orgs/coala HTTP/1.1" 401 83 2018-08-04 19:55:08,315 DEBUG errbot.plugins.nevermind Logger for plugin initialized... 2018-08-04 19:55:08,316 DEBUG errbot.plugins.SpammingAlert Logger for plugin initialized... 2018-08-04 19:55:08,318 DEBUG errbot.plugins.wolfram alpha Logger for plugin initialized... 2018-08-04 19:55:08,319 DEBUG errbot.plugins.Ban Logger for plugin initialized... 2018-08-04 19:55:08,320 DEBUG errbot.plugins.coala_lowercase_c Logger for plugin initialized... 2018-08-04 19:55:08,321 DEBUG errbot.plugins.GitStats Logger for plugin initialized... 2018-08-04 19:55:08,322 DEBUG errbot.plugins.SearchDocs Logger for plugin initialized... 2018-08-04 19:55:08,325 DEBUG errbot.plugins.answer Logger for plugin initialized... 2018-08-04 19:55:08,326 ERROR errbot.bootstrap Some plugins failed to load: Contains more than one plugin, only one will be loaded. 2018-08-04 19:55:08,327 INFO errbot.core Activate internal commands 2018-08-04 19:55:08,327 INFO errbot.plugin_manager Activate bot plugins... 2018-08-04 19:55:08,327 INFO errbot.plugin_manager Activate plugin: Backup. 2018-08-04 19:55:08,327 DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] 2018-08-04 19:55:08,328 DEBUG errbot.botplugin Init storage for Backup. 2018-08-04 19:55:08,328 DEBUG errbot.storage Opening storage 'Backup' 2018-08-04 19:55:08,328 DEBUG errbot.core Adding command : backup -> backup. 2018-08-04 19:55:08,329 INFO errbot.core_plugins.wsview Checking Backup for webhooks 2018-08-04 19:55:08,329 INFO errbot.plugin_manager Activate plugin: TextCmds. 2018-08-04 19:55:08,329 DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] 2018-08-04 19:55:08,329 INFO errbot.core_plugins.wsview Checking TextModeCmds for webhooks 2018-08-04 19:55:08,330 INFO errbot.plugin_manager Activate plugin: Utils. 2018-08-04 19:55:08,330 DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] 2018-08-04 19:55:08,330 DEBUG errbot.botplugin Init storage for Utils. 2018-08-04 19:55:08,330 DEBUG errbot.storage Opening storage 'Utils' 2018-08-04 19:55:08,331 DEBUG errbot.core Adding command : echo -> echo. 2018-08-04 19:55:08,331 DEBUG errbot.core Adding command : history -> history. 2018-08-04 19:55:08,331 DEBUG errbot.core Adding command : log_tail -> log_tail. 2018-08-04 19:55:08,331 DEBUG errbot.core Adding command : render_test -> render_test. 2018-08-04 19:55:08,331 DEBUG errbot.core Adding command : whoami -> whoami. 2018-08-04 19:55:08,332 INFO errbot.core_plugins.wsview Checking Utils for webhooks 2018-08-04 19:55:08,332 INFO errbot.plugin_manager Activate plugin: ACLs. 2018-08-04 19:55:08,332 DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] 2018-08-04 19:55:08,332 DEBUG errbot.botplugin Init storage for ACLs. 2018-08-04 19:55:08,333 DEBUG errbot.storage Opening storage 'ACLs' 2018-08-04 19:55:08,333 DEBUG errbot.core Adding command filter: acls 2018-08-04 19:55:08,333 INFO errbot.core_plugins.wsview Checking ACLS for webhooks 2018-08-04 19:55:08,334 INFO errbot.plugin_manager Activate plugin: Help. 2018-08-04 19:55:08,334 DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] 2018-08-04 19:55:08,334 DEBUG errbot.botplugin Init storage for Help. 2018-08-04 19:55:08,334 DEBUG errbot.storage Opening storage 'Help' 2018-08-04 19:55:08,335 DEBUG errbot.core Adding command : about -> about. 2018-08-04 19:55:08,335 DEBUG errbot.core Adding command : apropos -> apropos. 2018-08-04 19:55:08,335 DEBUG errbot.core Adding command : help -> help. 2018-08-04 19:55:08,336 INFO errbot.core_plugins.wsview Checking Help for webhooks 2018-08-04 19:55:08,336 INFO errbot.plugin_manager Activate plugin: Webserver. 2018-08-04 19:55:08,337 DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] 2018-08-04 19:55:08,337 INFO errbot.plugins.Webserver Webserver is not configured. Forbid activation 2018-08-04 19:55:08,337 INFO errbot.core_plugins.wsview Checking Webserver for webhooks 2018-08-04 19:55:08,338 INFO errbot.core_plugins.wsview Webhook routing echo 2018-08-04 19:55:08,338 INFO errbot.plugin_manager Activate plugin: ChatRoom. 2018-08-04 19:55:08,338 DEBUG errbot.templating Templates directory found for this plugin [/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins/templates] 2018-08-04 19:55:08,339 DEBUG errbot.botplugin Init storage for ChatRoom. 2018-08-04 19:55:08,339 DEBUG errbot.storage Opening storage 'ChatRoom' 2018-08-04 19:55:08,339 DEBUG errbot.core Adding command : room_create -> room_create. 2018-08-04 19:55:08,339 DEBUG errbot.core Adding command : room_destroy -> room_destroy. 2018-08-04 19:55:08,339 DEBUG errbot.core Adding command : room_invite -> room_invite. 2018-08-04 19:55:08,340 DEBUG errbot.core Adding command : room_join -> room_join. 2018-08-04 19:55:08,340 DEBUG errbot.core Adding command : room_leave -> room_leave. 2018-08-04 19:55:08,340 DEBUG errbot.core Adding command : room_list -> room_list. 2018-08-04 19:55:08,340 DEBUG errbot.core Adding command : room_occupants -> room_occupants. 2018-08-04 19:55:08,340 DEBUG errbot.core Adding command : room_topic -> room_topic. 2018-08-04 19:55:08,340 INFO errbot.core_plugins.wsview Checking ChatRoom for webhooks 2018-08-04 19:55:08,341 INFO errbot.plugins.ChatRoom Callback_connect 2018-08-04 19:55:08,341 DEBUG errbot.plugins.ChatRoom Try to join room 'testroom' 2018-08-04 19:55:08,341 INFO errbot.plugins.ChatRoom Joining room testroom with username Errbot. 2018-08-04 19:55:08,341 DEBUG errbot.backends.test Room testroom doesn't exist yet, creating it. 2018-08-04 19:55:09,837 INFO errbot.backends.test Created room testroom. 2018-08-04 19:55:09,837 INFO errbot.backends.test Joined room testroom. 2018-08-04 19:55:09,837 DEBUG errbot.core Triggering callback_room_joined on Backup. travis_fold:end:py-5506.stderr-setup.0 travis_fold:start:py-5506.cov.0 ----------- coverage: platform linux, python 3.6.3-final-0 ----------- Name Stmts Miss Cover Missing ----------------------------------------------------------------- plugins/__init__.py 0 0 100% plugins/answer.py 25 0 100% plugins/ban.py 37 0 100% plugins/coala_lowercase_c.py 12 0 100% plugins/coatils.py 118 0 100% plugins/constants.py 7 0 100% plugins/deprecate_bot_prefixes.py 6 0 100% plugins/explain.py 20 0 100% plugins/ghetto.py 10 0 100% plugins/git_stats.py 51 0 100% plugins/labhub.py 236 0 100% plugins/lmgtfy.py 4 0 100% plugins/nevermind.py 5 0 100% plugins/pitchfork.py 12 0 100% plugins/searchdocs.py 16 9 44% 23-34 plugins/ship_it.py 7 0 100% plugins/spam.py 13 0 100% plugins/the_rules.py 5 0 100% plugins/wolfram_alpha.py 18 0 100% ----------------------------------------------------------------- TOTAL 602 9 99% travis_fold:end:py-5506.cov.0 FAIL Required test coverage of 100% not reached. Total coverage: 98.50% =============================== warnings summary =============================== Module already imported so cannot be rewritten: errbot.backends.test tests/labhub_test.py::TestBot cannot collect test class 'TestBot' because it has a __init__ constructor tests/spam_test.py::TestBot cannot collect test class 'TestBot' because it has a __init__ constructor -- Docs: http://doc.pytest.org/en/latest/warnings.html =============== 39 passed, 3 warnings, 1 error in 106.00 seconds =============== ```
jayvdb commented 6 years ago

I would like to see separate commits included in this PR for all of the configuration upgrades which we need (except for LabHub):

Any others?

Only by putting them all in here together can we ensure that this is the last change needed to DefaultConfigMixin for your project.

gitmate-bot commented 6 years ago

Comment on 5f8068a7d81e0336194b30ef8835ad3c4f11a8ef, file plugins/ghetto.py, line 20.

Broken link - unable to connect to http://www.gizoogle.net/textilizer.php

Origin: InvalidLinkBear, Section: all.links.

gitmate-bot commented 6 years ago

Comment on b5f1624f1eeadfef22928f681d9e93e328bddbf5, file tests/lmgtfy_test.py, line 12.

Broken link - unable to connect to https://www.lmgtfy.com/?q=py

Origin: InvalidLinkBear, Section: all.links.

gitmate-bot commented 6 years ago

Comment on b5f1624f1eeadfef22928f681d9e93e328bddbf5, file tests/lmgtfy_test.py, line 12.

Broken link - unable to connect to https://www.lmgtfy.com/?q=py

Origin: InvalidLinkBear, Section: all.links.

gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 13.

The code does not comply to PEP8.

Origin: PEP8Bear, Section: all.autopep8.

The issue can be fixed by applying the following patch:

--- a/tmp/tmp3fohgzfx/tests/wolfram_alpha_test.py
+++ b/tmp/tmp3fohgzfx/tests/wolfram_alpha_test.py
@@ -10,14 +10,14 @@
 class WolframAlphaTest(IsolatedTestCase):

     def setUp(self):
-#        extra_config = {
-#            'DEFAULT_CONFIG': {
-#                'WolframAlpha': {
-#                    'WA_TOKEN': None,
-#                }
-#            }
-#        }
-        super().setUp()#extra_config=extra_config)
+        #        extra_config = {
+        #            'DEFAULT_CONFIG': {
+        #                'WolframAlpha': {
+        #                    'WA_TOKEN': None,
+        #                }
+        #            }
+        #        }
+        super().setUp()  # extra_config=extra_config)

     @my_vcr.use_cassette('tests/cassettes/wa.yaml')
     def test_wa(self):
gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 13.

E115 expected an indented block (comment)

Origin: PycodestyleBear (E115), Section: all.autopep8.

gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 14.

E115 expected an indented block (comment)

Origin: PycodestyleBear (E115), Section: all.autopep8.

gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 15.

E115 expected an indented block (comment)

Origin: PycodestyleBear (E115), Section: all.autopep8.

gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 16.

E115 expected an indented block (comment)

Origin: PycodestyleBear (E115), Section: all.autopep8.

gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 17.

E115 expected an indented block (comment)

Origin: PycodestyleBear (E115), Section: all.autopep8.

gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 18.

E115 expected an indented block (comment)

Origin: PycodestyleBear (E115), Section: all.autopep8.

gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 19.

E115 expected an indented block (comment)

Origin: PycodestyleBear (E115), Section: all.autopep8.

gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 20.

E261 at least two spaces before inline comment

Origin: PycodestyleBear (E261), Section: all.autopep8.

gitmate-bot commented 6 years ago

Comment on 545b1240ddb68774d0ad348e32dd10ad17b63cb6, file tests/wolfram_alpha_test.py, line 20.

E262 inline comment should start with '# '

Origin: PycodestyleBear (E262), Section: all.autopep8.

TravisBuddy commented 6 years ago

Travis tests have failed

Hey @nvzard, 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

coala --non-interactive -V ``` [WARNING][11:13:05] bears setting has already been defined in section all.python. The previous setting will be overridden. [WARNING][11:13:05] bears setting has already been defined in section all.python. The previous setting will be overridden. [DEBUG][11:13:06] Platform Linux -- Python 3.6.3, coalib 0.11.0 Executing section all... [DEBUG][11:13:06] Files that will be checked: /home/travis/build/coala/corobo/config.py /home/travis/build/coala/corobo/plugins/labhub.py /home/travis/build/coala/corobo/plugins/ship_it.py /home/travis/build/coala/corobo/plugins/the_rules.py /home/travis/build/coala/corobo/plugins/ghetto.py /home/travis/build/coala/corobo/plugins/constants.py /home/travis/build/coala/corobo/plugins/lmgtfy.py /home/travis/build/coala/corobo/plugins/searchdocs.py /home/travis/build/coala/corobo/plugins/git_stats.py /home/travis/build/coala/corobo/plugins/__init__.py /home/travis/build/coala/corobo/plugins/spam.py /home/travis/build/coala/corobo/plugins/coala_lowercase_c.py /home/travis/build/coala/corobo/plugins/answer.py /home/travis/build/coala/corobo/plugins/pitchfork.py /home/travis/build/coala/corobo/plugins/ban.py /home/travis/build/coala/corobo/plugins/explain.py /home/travis/build/coala/corobo/plugins/nevermind.py /home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py /home/travis/build/coala/corobo/plugins/wolfram_alpha.py /home/travis/build/coala/corobo/plugins/coatils.py /home/travis/build/coala/corobo/answers/__init__.py /home/travis/build/coala/corobo/answers/service.py /home/travis/build/coala/corobo/answers/final.py /home/travis/build/coala/corobo/answers/extraction.py /home/travis/build/coala/corobo/answers/utils.py /home/travis/build/coala/corobo/tests/nevermind_test.py /home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py /home/travis/build/coala/corobo/tests/answer_test.py /home/travis/build/coala/corobo/tests/labhub_test_case.py /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py /home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py /home/travis/build/coala/corobo/tests/searchdocs_test.py /home/travis/build/coala/corobo/tests/git_stats_test.py /home/travis/build/coala/corobo/tests/lmgtfy_test.py /home/travis/build/coala/corobo/tests/the_rules_test.py /home/travis/build/coala/corobo/tests/__init__.py /home/travis/build/coala/corobo/tests/coatils_test.py /home/travis/build/coala/corobo/tests/explain_test.py /home/travis/build/coala/corobo/tests/ship_it_test.py /home/travis/build/coala/corobo/tests/spam_test.py /home/travis/build/coala/corobo/tests/ban_test.py /home/travis/build/coala/corobo/tests/ghetto_test.py /home/travis/build/coala/corobo/tests/labhub_test.py /home/travis/build/coala/corobo/tests/corobo_test_case.py /home/travis/build/coala/corobo/tests/pitchfork_test.py /home/travis/build/coala/corobo/tests/isolated_testcase.py [DEBUG][11:13:06] 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][11:13:06] Files that will be checked: /home/travis/build/coala/corobo/config.py /home/travis/build/coala/corobo/plugins/labhub.py /home/travis/build/coala/corobo/plugins/ship_it.py /home/travis/build/coala/corobo/plugins/the_rules.py /home/travis/build/coala/corobo/plugins/ghetto.py /home/travis/build/coala/corobo/plugins/constants.py /home/travis/build/coala/corobo/plugins/lmgtfy.py /home/travis/build/coala/corobo/plugins/searchdocs.py /home/travis/build/coala/corobo/plugins/git_stats.py /home/travis/build/coala/corobo/plugins/__init__.py /home/travis/build/coala/corobo/plugins/spam.py /home/travis/build/coala/corobo/plugins/coala_lowercase_c.py /home/travis/build/coala/corobo/plugins/answer.py /home/travis/build/coala/corobo/plugins/pitchfork.py /home/travis/build/coala/corobo/plugins/ban.py /home/travis/build/coala/corobo/plugins/explain.py /home/travis/build/coala/corobo/plugins/nevermind.py /home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py /home/travis/build/coala/corobo/plugins/wolfram_alpha.py /home/travis/build/coala/corobo/plugins/coatils.py /home/travis/build/coala/corobo/answers/__init__.py /home/travis/build/coala/corobo/answers/service.py /home/travis/build/coala/corobo/answers/final.py /home/travis/build/coala/corobo/answers/extraction.py /home/travis/build/coala/corobo/answers/utils.py /home/travis/build/coala/corobo/tests/nevermind_test.py /home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py /home/travis/build/coala/corobo/tests/answer_test.py /home/travis/build/coala/corobo/tests/labhub_test_case.py /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py /home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py /home/travis/build/coala/corobo/tests/searchdocs_test.py /home/travis/build/coala/corobo/tests/git_stats_test.py /home/travis/build/coala/corobo/tests/lmgtfy_test.py /home/travis/build/coala/corobo/tests/the_rules_test.py /home/travis/build/coala/corobo/tests/__init__.py /home/travis/build/coala/corobo/tests/coatils_test.py /home/travis/build/coala/corobo/tests/explain_test.py /home/travis/build/coala/corobo/tests/ship_it_test.py /home/travis/build/coala/corobo/tests/spam_test.py /home/travis/build/coala/corobo/tests/ban_test.py /home/travis/build/coala/corobo/tests/ghetto_test.py /home/travis/build/coala/corobo/tests/labhub_test.py /home/travis/build/coala/corobo/tests/corobo_test_case.py /home/travis/build/coala/corobo/tests/pitchfork_test.py /home/travis/build/coala/corobo/tests/isolated_testcase.py [DEBUG][11:13:06] 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][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... [DEBUG][11:13:06] Running bear SpaceConsistencyBear... Executing section all.python... [DEBUG][11:13:06] Files that will be checked: /home/travis/build/coala/corobo/config.py /home/travis/build/coala/corobo/plugins/labhub.py /home/travis/build/coala/corobo/plugins/ship_it.py /home/travis/build/coala/corobo/plugins/the_rules.py /home/travis/build/coala/corobo/plugins/ghetto.py /home/travis/build/coala/corobo/plugins/constants.py /home/travis/build/coala/corobo/plugins/lmgtfy.py /home/travis/build/coala/corobo/plugins/searchdocs.py /home/travis/build/coala/corobo/plugins/git_stats.py /home/travis/build/coala/corobo/plugins/__init__.py /home/travis/build/coala/corobo/plugins/spam.py /home/travis/build/coala/corobo/plugins/coala_lowercase_c.py /home/travis/build/coala/corobo/plugins/answer.py /home/travis/build/coala/corobo/plugins/pitchfork.py /home/travis/build/coala/corobo/plugins/ban.py /home/travis/build/coala/corobo/plugins/explain.py /home/travis/build/coala/corobo/plugins/nevermind.py /home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py /home/travis/build/coala/corobo/plugins/wolfram_alpha.py /home/travis/build/coala/corobo/plugins/coatils.py /home/travis/build/coala/corobo/answers/__init__.py /home/travis/build/coala/corobo/answers/service.py /home/travis/build/coala/corobo/answers/final.py /home/travis/build/coala/corobo/answers/extraction.py /home/travis/build/coala/corobo/answers/utils.py /home/travis/build/coala/corobo/tests/nevermind_test.py /home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py /home/travis/build/coala/corobo/tests/answer_test.py /home/travis/build/coala/corobo/tests/labhub_test_case.py /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py /home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py /home/travis/build/coala/corobo/tests/searchdocs_test.py /home/travis/build/coala/corobo/tests/git_stats_test.py /home/travis/build/coala/corobo/tests/lmgtfy_test.py /home/travis/build/coala/corobo/tests/the_rules_test.py /home/travis/build/coala/corobo/tests/__init__.py /home/travis/build/coala/corobo/tests/coatils_test.py /home/travis/build/coala/corobo/tests/explain_test.py /home/travis/build/coala/corobo/tests/ship_it_test.py /home/travis/build/coala/corobo/tests/spam_test.py /home/travis/build/coala/corobo/tests/ban_test.py /home/travis/build/coala/corobo/tests/ghetto_test.py /home/travis/build/coala/corobo/tests/labhub_test.py /home/travis/build/coala/corobo/tests/corobo_test_case.py /home/travis/build/coala/corobo/tests/pitchfork_test.py /home/travis/build/coala/corobo/tests/isolated_testcase.py [DEBUG][11:13:06] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autoflake' [DEBUG][11:13:06] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={}) [DEBUG][11:13:06] returning CommandNode(command=['-m'] redirects={}) [DEBUG][11:13:06] returning CommandNode(command=['pip'] redirects={}) [DEBUG][11:13:06] returning CommandNode(command=['show'] redirects={}) [DEBUG][11:13:06] returning CommandNode(command=['autoflake'] redirects={}) [DEBUG][11:13:06] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={}) [DEBUG][11:13:06] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={}) [DEBUG][11:13:06] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={}) [DEBUG][11:13:06] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={}) [DEBUG][11:13:06] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={}), None, False [DEBUG][11:13:06] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autoflake') created [DEBUG][11:13:06] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'], {'stdout': -1, 'stderr': -1, 'stdin': None} [DEBUG][11:13:06] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autoflake'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': , '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'], 'stdin': None, 'stdout': <_io.BufferedReader name=18>, 'stderr': <_io.BufferedReader name=21>, 'pid': 5259, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True} [DEBUG][11:13:06] Created thread Thread-3 as reader for Capture-1 [DEBUG][11:13:06] Capture-1: reader thread about to read line [DEBUG][11:13:06] Capture-1: reader thread kicked off, waiting start [DEBUG][11:13:06] Capture-1: reader thread now started [DEBUG][11:13:06] Created thread Thread-4 as reader for Capture-2 [DEBUG][11:13:06] Capture-2: reader thread about to read line [DEBUG][11:13:06] Capture-2: reader thread kicked off, waiting start [DEBUG][11:13:06] Capture-2: reader thread now started [DEBUG][11:13:06] about to wait for process [DEBUG][11:13:07] queued chunk of length 16 to : b'Name: autoflake\n' [DEBUG][11:13:07] queued chunk of length 15 to : b'Version: 0.6.6\n' [DEBUG][11:13:07] queued chunk of length 54 to : b'Summary: Removes unused import' [DEBUG][11:13:07] queued chunk of length 46 to : b'Home-page: https://github.com/' [DEBUG][11:13:07] queued chunk of length 21 to : b'Author: Steven Myint\n' [DEBUG][11:13:07] queued chunk of length 22 to : b'Author-email: UNKNOWN\n' [DEBUG][11:13:07] queued chunk of length 23 to : b'License: Expat License\n' [DEBUG][11:13:07] queued chunk of length 74 to : b'Location: /home/travis/virtual' [DEBUG][11:13:07] queued chunk of length 19 to : b'Requires: pyflakes\n' [DEBUG][11:13:07] Capture-1: finished reading stream <_io.BufferedReader name=18> [DEBUG][11:13:07] Capture-2: finished reading stream <_io.BufferedReader name=21> [DEBUG][11:13:07] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autoflake') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=18> stderr=<_io.BufferedReader name=21>)) [DEBUG][11:13:07] pipeline closing [DEBUG][11:13: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][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... [DEBUG][11:13:07] Running bear PyUnusedCodeBear... Executing section all.autopep8... [DEBUG][11:13:08] Files that will be checked: /home/travis/build/coala/corobo/config.py /home/travis/build/coala/corobo/plugins/labhub.py /home/travis/build/coala/corobo/plugins/ship_it.py /home/travis/build/coala/corobo/plugins/the_rules.py /home/travis/build/coala/corobo/plugins/ghetto.py /home/travis/build/coala/corobo/plugins/constants.py /home/travis/build/coala/corobo/plugins/lmgtfy.py /home/travis/build/coala/corobo/plugins/searchdocs.py /home/travis/build/coala/corobo/plugins/git_stats.py /home/travis/build/coala/corobo/plugins/__init__.py /home/travis/build/coala/corobo/plugins/spam.py /home/travis/build/coala/corobo/plugins/coala_lowercase_c.py /home/travis/build/coala/corobo/plugins/answer.py /home/travis/build/coala/corobo/plugins/pitchfork.py /home/travis/build/coala/corobo/plugins/ban.py /home/travis/build/coala/corobo/plugins/explain.py /home/travis/build/coala/corobo/plugins/nevermind.py /home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py /home/travis/build/coala/corobo/plugins/wolfram_alpha.py /home/travis/build/coala/corobo/plugins/coatils.py /home/travis/build/coala/corobo/answers/__init__.py /home/travis/build/coala/corobo/answers/service.py /home/travis/build/coala/corobo/answers/final.py /home/travis/build/coala/corobo/answers/extraction.py /home/travis/build/coala/corobo/answers/utils.py /home/travis/build/coala/corobo/tests/nevermind_test.py /home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py /home/travis/build/coala/corobo/tests/answer_test.py /home/travis/build/coala/corobo/tests/labhub_test_case.py /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py /home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py /home/travis/build/coala/corobo/tests/searchdocs_test.py /home/travis/build/coala/corobo/tests/git_stats_test.py /home/travis/build/coala/corobo/tests/lmgtfy_test.py /home/travis/build/coala/corobo/tests/the_rules_test.py /home/travis/build/coala/corobo/tests/__init__.py /home/travis/build/coala/corobo/tests/coatils_test.py /home/travis/build/coala/corobo/tests/explain_test.py /home/travis/build/coala/corobo/tests/ship_it_test.py /home/travis/build/coala/corobo/tests/spam_test.py /home/travis/build/coala/corobo/tests/ban_test.py /home/travis/build/coala/corobo/tests/ghetto_test.py /home/travis/build/coala/corobo/tests/labhub_test.py /home/travis/build/coala/corobo/tests/corobo_test_case.py /home/travis/build/coala/corobo/tests/pitchfork_test.py /home/travis/build/coala/corobo/tests/isolated_testcase.py [DEBUG][11:13:08] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8' [DEBUG][11:13:08] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={}) [DEBUG][11:13:08] returning CommandNode(command=['-m'] redirects={}) [DEBUG][11:13:08] returning CommandNode(command=['pip'] redirects={}) [DEBUG][11:13:08] returning CommandNode(command=['show'] redirects={}) [DEBUG][11:13:08] returning CommandNode(command=['autopep8'] redirects={}) [DEBUG][11:13:08] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}) [DEBUG][11:13:08] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}) [DEBUG][11:13:08] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}) [DEBUG][11:13:08] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}) [DEBUG][11:13:08] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False [DEBUG][11:13:08] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created [DEBUG][11:13:08] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None} [DEBUG][11:13:08] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': , '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], 'stdin': None, 'stdout': <_io.BufferedReader name=20>, 'stderr': <_io.BufferedReader name=23>, 'pid': 5303, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True} [DEBUG][11:13:08] Created thread Thread-6 as reader for Capture-3 [DEBUG][11:13:08] Capture-3: reader thread about to read line [DEBUG][11:13:08] Capture-3: reader thread kicked off, waiting start [DEBUG][11:13:08] Capture-3: reader thread now started [DEBUG][11:13:08] Created thread Thread-7 as reader for Capture-4 [DEBUG][11:13:08] Capture-4: reader thread about to read line [DEBUG][11:13:08] Capture-4: reader thread kicked off, waiting start [DEBUG][11:13:08] Capture-4: reader thread now started [DEBUG][11:13:08] about to wait for process [DEBUG][11:13:08] queued chunk of length 15 to : b'Name: autopep8\n' [DEBUG][11:13:08] queued chunk of length 15 to : b'Version: 1.3.5\n' [DEBUG][11:13:08] queued chunk of length 91 to : b'Summary: A tool that automatic' [DEBUG][11:13:08] queued chunk of length 46 to : b'Home-page: https://github.com/' [DEBUG][11:13:08] queued chunk of length 22 to : b'Author: Hideo Hattori\n' [DEBUG][11:13:08] queued chunk of length 34 to : b'Author-email: hhatto.jp@gmail.' [DEBUG][11:13:08] queued chunk of length 23 to : b'License: Expat License\n' [DEBUG][11:13:08] queued chunk of length 74 to : b'Location: /home/travis/virtual' [DEBUG][11:13:08] queued chunk of length 22 to : b'Requires: pycodestyle\n' [DEBUG][11:13:08] Capture-3: finished reading stream <_io.BufferedReader name=20> [DEBUG][11:13:08] Capture-4: finished reading stream <_io.BufferedReader name=23> [DEBUG][11:13:08] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=20> stderr=<_io.BufferedReader name=23>)) [DEBUG][11:13:08] pipeline closing [DEBUG][11:13: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. [DEBUG][11:13:08] Running bear PEP8Bear... [DEBUG][11:13:08] Running bear PEP8Bear... [DEBUG][11:13:08] Running bear PycodestyleBear... [DEBUG][11:13:08] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/the_rules.py' [DEBUG][11:13:08] Running bear PycodestyleBear... [DEBUG][11:13:08] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/wolfram_alpha.py' [DEBUG][11:13:08] Running bear PEP8Bear... [DEBUG][11:13:08] Running bear PEP8Bear... [DEBUG][11:13:08] Running bear PycodestyleBear... [DEBUG][11:13:08] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/explain_test.py' [DEBUG][11:13:08] Running bear PycodestyleBear... [DEBUG][11:13:08] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/answer_test.py' [DEBUG][11:13:08] Running bear PEP8Bear... [DEBUG][11:13:08] Running bear PEP8Bear... [DEBUG][11:13:08] Use of change_line method is deprecated. Instead use modify_line method, without the original_line argument [DEBUG][11:13:08] Running bear PycodestyleBear... [DEBUG][11:13:08] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py' [DEBUG][11:13:08] Running bear PycodestyleBear... [DEBUG][11:13:08] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/spam_test.py' | | [NORMAL] PEP8Bear: [DEBUG][11:13:09] Running bear PEP8Bear... | | The code does not comply to PEP8. |----| | /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py | |++++| /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py | 10| 10| class WolframAlphaTest(IsolatedTestCase): | 11| 11| | 12| 12| def setUp(self): | 13| |-# extra_config = { | 14| |-# 'DEFAULT_CONFIG': { | 15| |-# 'WolframAlpha': { | 16| |-# 'WA_TOKEN': None, | 17| |-# } | 18| |-# } | 19| |-# } | 20| |- super().setUp()#extra_config=extra_config) | | 13|+ # extra_config = { | | 14|+ # 'DEFAULT_CONFIG': { | | 15|+ # 'WolframAlpha': { | | 16|+ # 'WA_TOKEN': None, | | 17|+ # } | | 18|+ # } | | 19|+ # } | | 20|+ super().setUp() # extra_config=extra_config) | 21| 21| | 22| 22| @my_vcr.use_cassette('tests/cassettes/wa.yaml') | 23| 23| def test_wa(self): [INFO][11:13:09] Applied 'ShowPatchAction' on 'tests/wolfram_alpha_test.py' from 'PEP8Bear'. [WARNING][11:13:09] PycodestyleBear (E115): This result has no patch attached. [WARNING][11:13:09] PycodestyleBear (E115): This result has no patch attached. [WARNING][11:13:09] PycodestyleBear (E115): This result has no patch attached. [WARNING][11:13:09] PycodestyleBear (E115): This result has no patch attached. [WARNING][11:13:09] PycodestyleBear (E115): This result has no patch attached. [WARNING][11:13:09] PycodestyleBear (E115): This result has no patch attached. [WARNING][11:13:09] PycodestyleBear (E115): This result has no patch attached. [WARNING][11:13:09] PycodestyleBear (E261): This result has no patch attached. [WARNING][11:13:09] PycodestyleBear (E262): This result has no patch attached. tests/wolfram_alpha_test.py [DEBUG][11:13:09] Running bear PEP8Bear... [DEBUG][11:13:09] Running bear PycodestyleBear... [DEBUG][11:13:09] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/isolated_testcase.py' [DEBUG][11:13:09] Running bear PycodestyleBear... [DEBUG][11:13:09] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py' [DEBUG][11:13:09] Running bear PEP8Bear... [DEBUG][11:13:09] Running bear PycodestyleBear... [DEBUG][11:13:09] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/searchdocs.py' | 13| #········extra_config·=·{ | | [NORMAL] PycodestyleBear (E115): | | E115 expected an indented block (comment) tests/wolfram_alpha_test.py | 14| #············'DEFAULT_CONFIG':·{ | | [NORMAL] PycodestyleBear (E115): | | E115 expected an indented block (comment) tests/wolfram_alpha_test.py | 15| #················'WolframAlpha':·{ | | [NORMAL] PycodestyleBear (E115): [DEBUG][11:13:09] Running bear PEP8Bear... | | E115 expected an indented block (comment) tests/wolfram_alpha_test.py | 16| #····················'WA_TOKEN':·None, | | [NORMAL] PycodestyleBear (E115): | | E115 expected an indented block (comment) tests/wolfram_alpha_test.py | 17| #················} | | [NORMAL] PycodestyleBear (E115): | | E115 expected an indented block (comment) tests/wolfram_alpha_test.py [DEBUG][11:13:09] Running bear PycodestyleBear... [DEBUG][11:13:09] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/lmgtfy_test.py' | 18| #············} | | [NORMAL] PycodestyleBear (E115): | | E115 expected an indented block (comment) tests/wolfram_alpha_test.py | 19| #········} | | [NORMAL] PycodestyleBear (E115): | | E115 expected an indented block (comment) tests/wolfram_alpha_test.py | 20| ········super().setUp()#extra_config=extra_config) | | [NORMAL] PycodestyleBear (E261): | | E261 at least two spaces before inline comment tests/wolfram_alpha_test.py | 20| ········super().setUp()#extra_config=extra_config) | | [NORMAL] PycodestyleBear (E262): | | E262 inline comment should start with '# ' [DEBUG][11:13:09] Running bear PEP8Bear... [DEBUG][11:13:09] Running bear PEP8Bear... [DEBUG][11:13:09] Running bear PycodestyleBear... [DEBUG][11:13:09] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/ship_it.py' [DEBUG][11:13:09] Running bear PycodestyleBear... [DEBUG][11:13:09] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/git_stats_test.py' [DEBUG][11:13:09] Running bear PEP8Bear... [DEBUG][11:13:09] Running bear PycodestyleBear... [DEBUG][11:13:09] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/coala_lowercase_c.py' [DEBUG][11:13:09] Running bear PEP8Bear... [DEBUG][11:13:09] Running bear PycodestyleBear... [DEBUG][11:13:09] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/labhub_test_case.py' [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/searchdocs_test.py' [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py' [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/labhub_test.py' [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/answer.py' [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/nevermind.py' [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/explain.py' [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/constants.py' [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/__init__.py' [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PEP8Bear... [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/ban_test.py' [DEBUG][11:13:10] Running bear PycodestyleBear... [DEBUG][11:13:10] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/ghetto.py' [DEBUG][11:13:11] Running bear PEP8Bear... [DEBUG][11:13:11] Running bear PEP8Bear... [DEBUG][11:13:11] Running bear PycodestyleBear... [DEBUG][11:13:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/__init__.py' [DEBUG][11:13:11] Running bear PycodestyleBear... [DEBUG][11:13:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/config.py' [DEBUG][11:13:11] Running bear PEP8Bear... [DEBUG][11:13:11] Running bear PycodestyleBear... [DEBUG][11:13:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/pitchfork_test.py' [DEBUG][11:13:11] Running bear PEP8Bear... [DEBUG][11:13:11] Running bear PEP8Bear... [DEBUG][11:13:11] Running bear PycodestyleBear... [DEBUG][11:13:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/spam.py' [DEBUG][11:13:11] Running bear PycodestyleBear... [DEBUG][11:13:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/ban.py' [DEBUG][11:13:11] Running bear PEP8Bear... [DEBUG][11:13:11] Running bear PycodestyleBear... [DEBUG][11:13:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/__init__.py' [DEBUG][11:13:11] Running bear PEP8Bear... [DEBUG][11:13:11] Running bear PycodestyleBear... [DEBUG][11:13:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py' [DEBUG][11:13:11] Running bear PEP8Bear... [DEBUG][11:13:11] Running bear PEP8Bear... [DEBUG][11:13:11] Running bear PycodestyleBear... [DEBUG][11:13:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/final.py' [DEBUG][11:13:11] Running bear PycodestyleBear... [DEBUG][11:13:11] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/coatils.py' [DEBUG][11:13:12] Running bear PEP8Bear... [DEBUG][11:13:12] Running bear PycodestyleBear... [DEBUG][11:13:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/nevermind_test.py' [DEBUG][11:13:12] Running bear PEP8Bear... [DEBUG][11:13:12] Running bear PycodestyleBear... [DEBUG][11:13:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/ship_it_test.py' [DEBUG][11:13:12] Running bear PEP8Bear... [DEBUG][11:13:12] Running bear PEP8Bear... [DEBUG][11:13:12] Running bear PycodestyleBear... [DEBUG][11:13:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/git_stats.py' [DEBUG][11:13:12] Running bear PEP8Bear... [DEBUG][11:13:12] Running bear PycodestyleBear... [DEBUG][11:13:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/the_rules_test.py' [DEBUG][11:13:12] Running bear PycodestyleBear... [DEBUG][11:13:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/labhub.py' [DEBUG][11:13:12] Running bear PEP8Bear... [DEBUG][11:13:12] Running bear PycodestyleBear... [DEBUG][11:13:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/utils.py' [DEBUG][11:13:12] Running bear PEP8Bear... [DEBUG][11:13:12] Running bear PycodestyleBear... [DEBUG][11:13:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/corobo_test_case.py' [DEBUG][11:13:12] Running bear PEP8Bear... [DEBUG][11:13:12] Running bear PycodestyleBear... [DEBUG][11:13:12] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/pitchfork.py' [DEBUG][11:13:12] Running bear PEP8Bear... [DEBUG][11:13:13] Running bear PEP8Bear... [DEBUG][11:13:13] Running bear PycodestyleBear... [DEBUG][11:13:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/extraction.py' [DEBUG][11:13:13] Running bear PycodestyleBear... [DEBUG][11:13:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/ghetto_test.py' [DEBUG][11:13:13] Running bear PEP8Bear... [DEBUG][11:13:13] Running bear PEP8Bear... [DEBUG][11:13:13] Running bear PycodestyleBear... [DEBUG][11:13:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/lmgtfy.py' [DEBUG][11:13:13] Running bear PycodestyleBear... [DEBUG][11:13:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/coatils_test.py' [DEBUG][11:13:13] Running bear PEP8Bear... [DEBUG][11:13:13] Running bear PycodestyleBear... [DEBUG][11:13:13] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/service.py' Executing section all.linelength... [DEBUG][11:13:13] Files that will be checked: /home/travis/build/coala/corobo/config.py /home/travis/build/coala/corobo/plugins/labhub.py /home/travis/build/coala/corobo/plugins/ship_it.py /home/travis/build/coala/corobo/plugins/the_rules.py /home/travis/build/coala/corobo/plugins/ghetto.py /home/travis/build/coala/corobo/plugins/constants.py /home/travis/build/coala/corobo/plugins/lmgtfy.py /home/travis/build/coala/corobo/plugins/searchdocs.py /home/travis/build/coala/corobo/plugins/git_stats.py /home/travis/build/coala/corobo/plugins/__init__.py /home/travis/build/coala/corobo/plugins/spam.py /home/travis/build/coala/corobo/plugins/coala_lowercase_c.py /home/travis/build/coala/corobo/plugins/answer.py /home/travis/build/coala/corobo/plugins/pitchfork.py /home/travis/build/coala/corobo/plugins/ban.py /home/travis/build/coala/corobo/plugins/explain.py /home/travis/build/coala/corobo/plugins/nevermind.py /home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py /home/travis/build/coala/corobo/plugins/wolfram_alpha.py /home/travis/build/coala/corobo/plugins/coatils.py /home/travis/build/coala/corobo/answers/__init__.py /home/travis/build/coala/corobo/answers/service.py /home/travis/build/coala/corobo/answers/final.py /home/travis/build/coala/corobo/answers/extraction.py /home/travis/build/coala/corobo/answers/utils.py /home/travis/build/coala/corobo/tests/nevermind_test.py /home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py /home/travis/build/coala/corobo/tests/answer_test.py /home/travis/build/coala/corobo/tests/labhub_test_case.py /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py /home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py /home/travis/build/coala/corobo/tests/searchdocs_test.py /home/travis/build/coala/corobo/tests/git_stats_test.py /home/travis/build/coala/corobo/tests/lmgtfy_test.py /home/travis/build/coala/corobo/tests/the_rules_test.py /home/travis/build/coala/corobo/tests/__init__.py /home/travis/build/coala/corobo/tests/coatils_test.py /home/travis/build/coala/corobo/tests/explain_test.py /home/travis/build/coala/corobo/tests/ship_it_test.py /home/travis/build/coala/corobo/tests/spam_test.py /home/travis/build/coala/corobo/tests/ban_test.py /home/travis/build/coala/corobo/tests/ghetto_test.py /home/travis/build/coala/corobo/tests/labhub_test.py /home/travis/build/coala/corobo/tests/corobo_test_case.py /home/travis/build/coala/corobo/tests/pitchfork_test.py /home/travis/build/coala/corobo/tests/isolated_testcase.py [DEBUG][11:13: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][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... [DEBUG][11:13:13] Running bear LineLengthBear... Executing section all.links... [DEBUG][11:13:14] Files that will be checked: /home/travis/build/coala/corobo/config.py /home/travis/build/coala/corobo/plugins/labhub.py /home/travis/build/coala/corobo/plugins/ship_it.py /home/travis/build/coala/corobo/plugins/the_rules.py /home/travis/build/coala/corobo/plugins/ghetto.py /home/travis/build/coala/corobo/plugins/constants.py /home/travis/build/coala/corobo/plugins/lmgtfy.py /home/travis/build/coala/corobo/plugins/searchdocs.py /home/travis/build/coala/corobo/plugins/git_stats.py /home/travis/build/coala/corobo/plugins/__init__.py /home/travis/build/coala/corobo/plugins/spam.py /home/travis/build/coala/corobo/plugins/coala_lowercase_c.py /home/travis/build/coala/corobo/plugins/answer.py /home/travis/build/coala/corobo/plugins/pitchfork.py /home/travis/build/coala/corobo/plugins/ban.py /home/travis/build/coala/corobo/plugins/explain.py /home/travis/build/coala/corobo/plugins/nevermind.py /home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py /home/travis/build/coala/corobo/plugins/wolfram_alpha.py /home/travis/build/coala/corobo/plugins/coatils.py /home/travis/build/coala/corobo/answers/__init__.py /home/travis/build/coala/corobo/answers/service.py /home/travis/build/coala/corobo/answers/final.py /home/travis/build/coala/corobo/answers/extraction.py /home/travis/build/coala/corobo/answers/utils.py /home/travis/build/coala/corobo/tests/nevermind_test.py /home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py /home/travis/build/coala/corobo/tests/answer_test.py /home/travis/build/coala/corobo/tests/labhub_test_case.py /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py /home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py /home/travis/build/coala/corobo/tests/searchdocs_test.py /home/travis/build/coala/corobo/tests/git_stats_test.py /home/travis/build/coala/corobo/tests/lmgtfy_test.py /home/travis/build/coala/corobo/tests/the_rules_test.py /home/travis/build/coala/corobo/tests/__init__.py /home/travis/build/coala/corobo/tests/coatils_test.py /home/travis/build/coala/corobo/tests/explain_test.py /home/travis/build/coala/corobo/tests/ship_it_test.py /home/travis/build/coala/corobo/tests/spam_test.py /home/travis/build/coala/corobo/tests/ban_test.py /home/travis/build/coala/corobo/tests/ghetto_test.py /home/travis/build/coala/corobo/tests/labhub_test.py /home/travis/build/coala/corobo/tests/corobo_test_case.py /home/travis/build/coala/corobo/tests/pitchfork_test.py /home/travis/build/coala/corobo/tests/isolated_testcase.py [DEBUG][11:13:14] Starting new HTTP connection (1): 216.58.218.174:80 [DEBUG][11:13:14] http://216.58.218.174:80 "HEAD / HTTP/1.1" 301 0 [DEBUG][11:13: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][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Starting new HTTP connection (1): 0.0.0.0:8000 [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Starting new HTTPS connection (1): www.lmgtfy.com:443 [DEBUG][11:13:14] Starting new HTTP connection (1): i.imgur.com:80 [DEBUG][11:13:14] http://i.imgur.com:80 "HEAD /DPVM1.png HTTP/1.1" 200 0 [DEBUG][11:13:14] Starting new HTTP connection (1): d2f8dzk2mhcqts.cloudfront.net:80 [DEBUG][11:13:14] http://d2f8dzk2mhcqts.cloudfront.net:80 "HEAD /0772_PEW_Roundup/09_Squirrel.jpg HTTP/1.1" 200 0 [DEBUG][11:13:14] Starting new HTTP connection (1): www.cybersalt.org:80 [DEBUG][11:13:14] https://www.lmgtfy.com:443 "HEAD /?q=py HTTP/1.1" 200 0 [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Starting new HTTPS connection (1): gitlab.com:443 [DEBUG][11:13:14] http://www.cybersalt.org:80 "HEAD /images/funnypictures/s/supersquirrel.jpg HTTP/1.1" 200 0 [DEBUG][11:13:14] Starting new HTTP connection (1): www.zmescience.com:80 [DEBUG][11:13:14] http://www.zmescience.com:80 "HEAD /wp-content/uploads/2010/09/squirrel.jpg HTTP/1.1" 301 0 [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Starting new HTTP connection (1): www.gizoogle.net:80 [DEBUG][11:13:14] https://gitlab.com:443 "HEAD /a/b/merge_requests/2 HTTP/1.1" 302 0 [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Running bear InvalidLinkBear... [DEBUG][11:13:14] Starting new HTTPS connection (1): api.gitter.im:443 [DEBUG][11:13:14] https://api.gitter.im:443 "HEAD /v1/rooms HTTP/1.1" 401 0 [DEBUG][11:13:14] Starting new HTTPS connection (1): api.gitter.im:443 [DEBUG][11:13:15] http://www.gizoogle.net:80 "HEAD /textilizer.php HTTP/1.1" 200 0 [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Starting new HTTPS connection (1): api.gitmate.io:443 [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] https://api.gitter.im:443 "HEAD /v1/rooms/ HTTP/1.1" 401 0 [DEBUG][11:13:15] Starting new HTTPS connection (1): api.gitter.im:443 [DEBUG][11:13:15] https://api.gitter.im:443 "HEAD /v1/rooms HTTP/1.1" 401 0 [DEBUG][11:13:15] Starting new HTTPS connection (1): api.gitter.im:443 [DEBUG][11:13:15] https://api.gitter.im:443 "HEAD /v1/rooms/ HTTP/1.1" 401 0 [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Starting new HTTPS connection (1): gitter.im:443 [DEBUG][11:13:15] https://gitter.im:443 "HEAD /coala/coala/offtopic HTTP/1.1" 200 0 [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Starting new HTTP connection (1): www.gizoogle.net:80 [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] https://api.gitmate.io:443 "HEAD /coala_online/ HTTP/1.1" 405 0 [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] Running bear InvalidLinkBear... [DEBUG][11:13:15] http://www.gizoogle.net:80 "HEAD /textilizer.php HTTP/1.1" 200 0 Executing section jinja2... [DEBUG][11:13:16] Files that will be checked: /home/travis/build/coala/corobo/plugins/templates/the_rules.jinja2.md /home/travis/build/coala/corobo/plugins/templates/spam_alert.jinja2.md /home/travis/build/coala/corobo/plugins/templates/lmgtfy.jinja2.md /home/travis/build/coala/corobo/plugins/templates/labhub/hello-world.jinja2.md /home/travis/build/coala/corobo/plugins/templates/labhub/errors/not-eligible-invite.jinja2.md /home/travis/build/coala/corobo/plugins/templates/labhub/errors/not-eligible.jinja2.md /home/travis/build/coala/corobo/plugins/templates/labhub/errors/no-repository.jinja2.md /home/travis/build/coala/corobo/plugins/templates/labhub/errors/already-assigned.jinja2.md /home/travis/build/coala/corobo/plugins/templates/labhub/promotions/developers.jinja2.md /home/travis/build/coala/corobo/plugins/templates/labhub/promotions/newcomers.jinja2.md /home/travis/build/coala/corobo/plugins/templates/labhub/promotions/maintainers.jinja2.md /home/travis/build/coala/corobo/plugins/templates/explain/cep.jinja2.md /home/travis/build/coala/corobo/plugins/templates/explain/gitlab.jinja2.md /home/travis/build/coala/corobo/plugins/templates/explain/rebase.jinja2.md /home/travis/build/coala/corobo/plugins/templates/explain/commit.jinja2.md /home/travis/build/coala/corobo/plugins/templates/explain/closes.jinja2.md /home/travis/build/coala/corobo/plugins/templates/explain/review.jinja2.md /home/travis/build/coala/corobo/plugins/templates/explain/fixes.jinja2.md /home/travis/build/coala/corobo/plugins/templates/explain/promotion.jinja2.md /home/travis/build/coala/corobo/plugins/templates/explain/google.jinja2.md [DEBUG][11:13: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][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... [DEBUG][11:13:16] Running bear Jinja2Bear... Executing section commit... [DEBUG][11:13:16] Files that will be checked: [DEBUG][11:13: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. Executing section cli... [DEBUG][11:13:16] Files that will be checked: [DEBUG][11:13: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. ```
gitmate-bot commented 6 years ago

Comment on a32333dd4e6b2d0bccd7026675c815226e2266e2, file plugins/ban.py, line 32.

Broken link - unable to connect to https://api.gitter.im/v1/rooms

Origin: InvalidLinkBear, Section: all.links.

gitmate-bot commented 6 years ago

Comment on 8db9a2ad9d84707b88aa1661a3266b6876d8e647, file tests/ghetto_test.py, line 13.

Broken link - unable to connect to http://www.gizoogle.net/textilizer.php

Origin: InvalidLinkBear, Section: all.links.

gitmate-bot commented 6 years ago

Comment on 079e7bd1a2b59f23f14a06cda6d77c21b9c499c2, file plugins/ban.py, line 66.

Broken link - unable to connect to https://api.gitter.im/v1/rooms

Origin: InvalidLinkBear, Section: all.links.

jayvdb commented 6 years ago

ack https://github.com/coala/corobo/pull/597/commits/8e4d63e97d88f584f973ae7b3ce4d97473377287 https://github.com/coala/corobo/pull/597/commits/4f2b470c51abc0a0f09191917516f3ff2de2ba74 https://github.com/coala/corobo/pull/597/commits/faafb2553fec06678cd6dc6d2ef5a716ab1f44d1

jayvdb commented 6 years ago

@gitmate-bot ff

gitmate-bot commented 6 years ago

Hey! I'm GitMate.io! This pull request is being fastforwarded automatically. Please DO NOT push while fastforward is in progress or your changes would be lost permanently :warning:

jayvdb commented 6 years ago

@gitmate-bot ff

gitmate-bot commented 6 years ago

Hey! I'm GitMate.io! This pull request is being fastforwarded automatically. Please DO NOT push while fastforward is in progress or your changes would be lost permanently :warning:

gitmate-bot commented 6 years ago

Automated fastforward with GitMate.io was successful! :tada: