TabbycatDebate/tabbycat

View on GitHub
Add preference to exclude ghosts from team scores #9560
Étienne Beaulé authored 2766a30f
complete00:00:37
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull registry.prod.codeclimate.net/codeclimate/codeclimate-radon:b695
b695: Pulling from codeclimate/codeclimate-radon
e00d546a75ad: Pulling fs layer
21f0a0866768: Pulling fs layer
cd9d3946aa16: Pulling fs layer
2e56add6654f: Pulling fs layer
6c87f215a2be: Pulling fs layer
c2b31566ca3d: Pulling fs layer
c2b31566ca3d: Waiting
21f0a0866768: Download complete
e00d546a75ad: Download complete
e00d546a75ad: Pull complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
21f0a0866768: Pull complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
c2b31566ca3d: Download complete
cd9d3946aa16: Pull complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download complete
2e56add6654f: Pull complete
6c87f215a2be: Pull complete
c2b31566ca3d: Pull complete
Digest: sha256:dfeb7edc634b4e2f851f3c788f7c21bd8bae097d4c66af722c76a6ba51121f98
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-radon:b695
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2021-04-18T04:13:46.794138 #1]  WARN -- : Skipping tabbycat/templates/js-bundles/enter_results.js due to CC::Parser::Client::HTTPError
W, [2021-04-18T04:13:46.794211 #1]  WARN -- : Response status: 422
W, [2021-04-18T04:13:46.810067 #1]  WARN -- : Skipping tabbycat/templates/js-bundles/main.js due to CC::Parser::Client::HTTPError
W, [2021-04-18T04:13:46.810124 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.0.0/lib/concurrent/atomic/mutex_atomic_fixnum.rb:80: warning: constant ::Fixnum is deprecated
W, [2021-04-18T04:13:55.246195 #1]  WARN -- : Skipping ./tabbycat/templates/js-bundles/enter_results.js due to CC::Parser::Client::HTTPError
W, [2021-04-18T04:13:55.246272 #1]  WARN -- : Response status: 422
W, [2021-04-18T04:13:55.259963 #1]  WARN -- : Skipping ./tabbycat/templates/js-bundles/main.js due to CC::Parser::Client::HTTPError
W, [2021-04-18T04:13:55.260022 #1]  WARN -- : Response status: 422
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.0.0/lib/concurrent/atomic/mutex_atomic_fixnum.rb:80: warning: constant ::Fixnum is deprecated
I, [2021-04-18T04:13:55.860613 #1]  INFO -- : Skipping file tabbycat/motions/statistics.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 47, 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 28
    motion.χ2_label, motion.χ2_info = self._annotate_χsquared(motion.aff_wins, motion.neg_wins)
           ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:56.019132 #1]  INFO -- : Skipping file ./tabbycat/results/management/commands/generateresults.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 47, 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 49
    f"Creating user: {options['user']}"))
                                      ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:56.060029 #1]  INFO -- : Skipping file tabbycat/results/views.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 47, 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 119
    f"{debate.matchup} ({debate.venue.name})"
                                            ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:56.094039 #1]  INFO -- : Skipping file tabbycat/results/result.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 47, 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 743
    **super().side_as_dicts(sheet, side, side_name),
     ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:56.566988 #1]  INFO -- : Skipping file ./tabbycat/draw/generator/bphungarian.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 47, 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 160
    def get_entropy_position_cost_function(α):  # noqa: N803
                                           ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:56.821626 #1]  INFO -- : Skipping file tabbycat/draw/tables.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 47, 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 185
    α = self.tournament.pref('bp_renyi_order')  # noqa: N806
    ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:56.831925 #1]  INFO -- : Skipping file tabbycat/draw/serializers.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 47, 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 25
    fields = (*TeamSerializer.Meta.fields,
              ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:57.760357 #1]  INFO -- : Skipping file ./tabbycat/options/management/commands/applypreset.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 47, 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 33
    print(f"{pref['key']} : {pref['new_value']}")
                                               ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:57.810108 #1]  INFO -- : Skipping file tabbycat/options/presets.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 47, 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 12
    yield from _all_subclasses(subclass)
             ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:58.025380 #1]  INFO -- : Skipping file tabbycat/utils/tables.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 47, 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 347
    def _show_ballots(self, cell, ts, link: str):
                                          ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:58.273604 #1]  INFO -- : Skipping file tabbycat/tournaments/forms.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 47, 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 137
    yield from super().__iter__()
             ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:58.688958 #1]  INFO -- : Skipping file ./tabbycat/settings/heroku.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 47, 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 147
    INSTALLED_APPS = ('scout_apm.django', *INSTALLED_APPS)
                                          ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:58.730786 #1]  INFO -- : Skipping file tabbycat/manage.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 47, 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 16
    ) from exc
         ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:58.860862 #1]  INFO -- : Skipping file tabbycat/api/serializers.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 47, 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 906
SyntaxError: only named arguments may follow *expression

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:59.280846 #1]  INFO -- : Skipping file tabbycat/venues/serializers.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 47, 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 25
    fields = (*VenueSerializer.Meta.fields,
              ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2021-04-18T04:13:59.951643 #1]  INFO -- : Skipping file tabbycat/adjallocation/serializers.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 47, 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 18
    fields = (*AdjudicatorSerializer.Meta.fields,
              ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
7
csslint
csslint engine documentation
8
eslint
eslint engine documentation
View output
Module not supported: @vue/eslint-config-standard
ESLint is running with the /usr/local/node_modules/eslint-plugin-vue/node_modules/vue-eslint-parser/index.js parser.
9
fixme
fixme engine documentation
10
radon
radon engine documentation
View output
Running radon3...