okfn-brasil/serenata-de-amor

View on GitHub
Merge pull request #525 from mauehara/mauehara-improve-jarbas-document-page-legibility #428
Mário Sérgio authored bdc50575
complete00:00:18
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-30T01:34:57.113761 #1]  INFO -- : Skipping file ./research/src/translation_table.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 255
    yield from (
             ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.124351 #1]  INFO -- : Skipping file ./research/src/fetch_receipts.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 53
    yield from(Receipt(row, self.target) for row in rows)
             ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.186095 #1]  INFO -- : Skipping file ./research/src/fetch_sex_places.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 118
    async def get_closest(self):
            ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.244810 #1]  INFO -- : Skipping file ./research/src/fetch_deputies_advisors.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 70
    print('.', end="", flush=True)
                  ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.292480 #1]  INFO -- : Skipping file ./research/src/get_family_names.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 76
    print('Fetching all congresspeople ids', end='\r')
                                                ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.350136 #1]  INFO -- : Skipping file ./research/src/fetch_congressperson_details.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 63
    yield from (str(idx).strip() for idx in distinct_ids)
             ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.371208 #1]  INFO -- : Skipping file rosie/rosie/chamber_of_deputies/adapter.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 67
    self.log.info(f'Loading reimbursements from {path}')
                                                      ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.487682 #1]  INFO -- : Skipping file rosie/rosie/core/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 43
    self.log.info(f'Running classifier {running} of {total}: {name}')
                                                                   ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.540931 #1]  INFO -- : Skipping file ./jarbas/chamber_of_deputies/management/commands/searchvector.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 54
    print(f'Creating search vector for {total} reimbursements…')
                                                                ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.541446 #1]  INFO -- : Skipping file ./jarbas/chamber_of_deputies/management/commands/tweets.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 69
    yield from api.GetUserTimeline(**kwargs)
             ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.581349 #1]  INFO -- : Skipping file ./jarbas/chamber_of_deputies/management/commands/update.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 32
    print(f'Backing up {Tweet.objects.count()} tweets')
                                                     ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.592207 #1]  INFO -- : Skipping file ./jarbas/chamber_of_deputies/management/commands/receipts_text.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 35
    print('Loading receipts text dataset…', end='\r')
                                                 ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.606607 #1]  INFO -- : Skipping file ./jarbas/chamber_of_deputies/management/commands/suspicions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 41
    print('Loading suspicions dataset…', end='\r')
                                              ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.651370 #1]  INFO -- : Skipping file jarbas/chamber_of_deputies/twitter.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 83
    congressperson = f'@{social_media.twitter}'
                                              ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.750357 #1]  INFO -- : Skipping file jarbas/storages.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 10
    name, *_ = args
          ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.761399 #1]  INFO -- : Skipping file ./jarbas/dashboard/templatetags/dashboard.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    return f'{brazilian_float(amount * 100 / total)}%'
                                                     ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.774844 #1]  INFO -- : Skipping file ./jarbas/dashboard/admin/paginators.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    key = f'dashboard_count_{hashed}'
                                    ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.812776 #1]  INFO -- : Skipping file ./jarbas/dashboard/admin/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 75
    return mark_safe(f'{obj.supplier}<br>{self._format_document(obj)}')
                                                                     ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.853449 #1]  INFO -- : Skipping file ./jarbas/core/management/commands/companies.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 53
    main = Activity.objects.update_or_create(**data, defaults=data)[0]
                                                   ^
SyntaxError: invalid syntax


I, [2024-11-30T01:34:57.861651 #1]  INFO -- : Skipping file ./jarbas/core/management/commands/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 62
    print(msg, end=end)
                  ^
SyntaxError: invalid syntax
7
pep8
pep8 engine documentation
View output
.github/ research/ manage.py rosie/rosie.py rosie/.github/ rosie/rosie/chamber_of_deputies/tests/fixtures/ rosie/rosie/chamber_of_deputies/adapter.py rosie/rosie/chamber_of_deputies/__init__.py rosie/rosie/chamber_of_deputies/settings.py rosie/rosie/chamber_of_deputies/classifiers/ rosie/rosie/federal_senate/tests/fixtures/ rosie/rosie/federal_senate/adapter.py rosie/rosie/federal_senate/__init__.py rosie/rosie/federal_senate/settings.py rosie/rosie/__init__.py rosie/rosie/core/tests/fixtures/ rosie/rosie/core/__init__.py rosie/rosie/core/classifiers/ docs/ contrib/ jarbas/chamber_of_deputies/fields.py jarbas/chamber_of_deputies/querysets.py jarbas/chamber_of_deputies/management/ jarbas/chamber_of_deputies/views.py jarbas/chamber_of_deputies/tasks.py jarbas/chamber_of_deputies/app.py jarbas/chamber_of_deputies/__init__.py jarbas/chamber_of_deputies/urls.py jarbas/chamber_of_deputies/twitter.py jarbas/chamber_of_deputies/models.py jarbas/chamber_of_deputies/serializers.py jarbas/layers/views.py jarbas/layers/templates/ jarbas/layers/static/ jarbas/layers/__init__.py jarbas/layers/urls.py jarbas/layers/elm/ jarbas/celery.py jarbas/public_admin/sites.py jarbas/public_admin/admin.py jarbas/public_admin/__init__.py jarbas/storages.py jarbas/__init__.py jarbas/dashboard/templatetags/ jarbas/dashboard/admin/ jarbas/dashboard/templates/ jarbas/dashboard/static/ jarbas/dashboard/__init__.py jarbas/dashboard/urls.py jarbas/wsgi.py jarbas/urls.py jarbas/core/management/ jarbas/core/context_processors.py jarbas/core/views.py jarbas/core/tests/fixtures/ jarbas/core/app.py jarbas/core/__init__.py jarbas/core/urls.py jarbas/core/models.py jarbas/core/serializers.py jarbas/settings.py/usr/lib/python3.9/site-packages/pycodestyle.py:2665: UserWarning: [pep8] section is deprecated. Use [pycodestyle].
  warnings.warn('[pep8] section is deprecated. Use [pycodestyle].')
8
csslint
csslint engine documentation
9
eslint
eslint engine documentation
View output
No rules are configured. Make sure you have added a config file with rules enabled.
See our documentation at https://docs.codeclimate.com/docs/eslint for more information.
(node:8) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
10
fixme
fixme engine documentation
11
markdownlint
markdownlint engine documentation
View output
/usr/local/bundle/gems/posix-spawn-0.3.11/lib/posix/spawn.rb:467: warning: constant ::Fixnum is deprecated