djbrown/hbscorez

View on GitHub
Bump sqlparse from 0.4.4 to 0.5.0 #655
dependabot[bot] authored 61895f62
complete00:00:59
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.json.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-bandit:b866
b866: Pulling from codeclimate/codeclimate-bandit
a0e0ef996968: Pulling fs layer
00c69949e211: Pulling fs layer
124b11ffd9dc: Pulling fs layer
74d262bd6915: Pulling fs layer
963a4e0e1415: Pulling fs layer
ea041886215a: Pulling fs layer
3bbf7ff90c63: Pulling fs layer
963a4e0e1415: Waiting
ea041886215a: Waiting
3bbf7ff90c63: Waiting
74d262bd6915: Waiting
124b11ffd9dc: Verifying Checksum
124b11ffd9dc: Download complete
00c69949e211: Verifying Checksum
00c69949e211: Download complete
a0e0ef996968: Verifying Checksum
a0e0ef996968: Download complete
963a4e0e1415: Verifying Checksum
963a4e0e1415: Download complete
ea041886215a: Verifying Checksum
ea041886215a: Download complete
a0e0ef996968: Pull complete
00c69949e211: Pull complete
3bbf7ff90c63: Verifying Checksum
3bbf7ff90c63: Download complete
124b11ffd9dc: Pull complete
74d262bd6915: Verifying Checksum
74d262bd6915: Download complete
74d262bd6915: Pull complete
963a4e0e1415: Pull complete
ea041886215a: Pull complete
3bbf7ff90c63: Pull complete
Digest: sha256:b831294279e697e4402c0bd94153247577b1e1297055bac81a8e2922b4dedba5
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-bandit:b866
docker pull codeclimate/codeclimate-eslint:b1476
b1476: Pulling from codeclimate/codeclimate-eslint
a2abf6c4d29d: Already exists
716b0e096692: Already exists
d65f0cc0c2e2: Pulling fs layer
c7fbf3401fad: Pulling fs layer
811ff2aaa8ce: Pulling fs layer
6961ed5764f3: Pulling fs layer
77321725071c: Pulling fs layer
e5ddd6d9acb6: Pulling fs layer
176840c42401: Pulling fs layer
414f407f492d: Pulling fs layer
7023f3ea382b: Pulling fs layer
af2390cc3e5d: Pulling fs layer
8bc34c14ff5d: Pulling fs layer
50a05621282c: Pulling fs layer
543da683a9cb: Pulling fs layer
77321725071c: Waiting
e5ddd6d9acb6: Waiting
414f407f492d: Waiting
7023f3ea382b: Waiting
176840c42401: Waiting
af2390cc3e5d: Waiting
8bc34c14ff5d: Waiting
6961ed5764f3: Waiting
50a05621282c: Waiting
543da683a9cb: Waiting
811ff2aaa8ce: Verifying Checksum
811ff2aaa8ce: Download complete
6961ed5764f3: Verifying Checksum
6961ed5764f3: Download complete
c7fbf3401fad: Verifying Checksum
c7fbf3401fad: Download complete
77321725071c: Verifying Checksum
77321725071c: Download complete
e5ddd6d9acb6: Verifying Checksum
e5ddd6d9acb6: Download complete
176840c42401: Verifying Checksum
176840c42401: Download complete
414f407f492d: Download complete
7023f3ea382b: Verifying Checksum
7023f3ea382b: Download complete
d65f0cc0c2e2: Verifying Checksum
d65f0cc0c2e2: Download complete
af2390cc3e5d: Download complete
8bc34c14ff5d: Verifying Checksum
8bc34c14ff5d: Download complete
543da683a9cb: Verifying Checksum
543da683a9cb: Download complete
50a05621282c: Verifying Checksum
50a05621282c: Download complete
d65f0cc0c2e2: Pull complete
c7fbf3401fad: Pull complete
811ff2aaa8ce: Pull complete
6961ed5764f3: Pull complete
77321725071c: Pull complete
e5ddd6d9acb6: Pull complete
176840c42401: Pull complete
414f407f492d: Pull complete
7023f3ea382b: Pull complete
af2390cc3e5d: Pull complete
8bc34c14ff5d: Pull complete
50a05621282c: Pull complete
543da683a9cb: Pull complete
Digest: sha256:1927fd540edeebf51540dffc05058271fdf3caec4291ef07f3c1dd0947431add
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-eslint:b1476
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
a9696c7f4cd8: Waiting
51b9219e6e44: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
0de813e89c33: Waiting
4f8d95c214b1: Verifying Checksum
4f8d95c214b1: Download complete
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
ab6db1bc80d0: Verifying Checksum
ab6db1bc80d0: Download complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
ab6db1bc80d0: Pull complete
51b9219e6e44: Verifying Checksum
51b9219e6e44: Download complete
bf17e9a1c113: Pull complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
4f8d95c214b1: Pull complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
43b5f16a0c84: Download complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
docker pull 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
6c87f215a2be: Waiting
c2b31566ca3d: Waiting
2e56add6654f: Waiting
21f0a0866768: Download complete
e00d546a75ad: Verifying Checksum
e00d546a75ad: Download complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
e00d546a75ad: Pull complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
c2b31566ca3d: Download complete
21f0a0866768: Pull complete
cd9d3946aa16: Pull complete
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
docker pull codeclimate/codeclimate-stylelint:b1017
b1017: Pulling from codeclimate/codeclimate-stylelint
5d20c808ce19: Pulling fs layer
0aca3696fac2: Pulling fs layer
371e3eac71b2: Pulling fs layer
0efa87b6cc73: Pulling fs layer
52c6641357c0: Pulling fs layer
a960b46b4ea8: Pulling fs layer
b8ef58969775: Pulling fs layer
266f60c15eeb: Pulling fs layer
702596540c25: Pulling fs layer
a6d7da0ad7b6: Pulling fs layer
0efa87b6cc73: Waiting
52c6641357c0: Waiting
a960b46b4ea8: Waiting
b8ef58969775: Waiting
702596540c25: Waiting
266f60c15eeb: Waiting
a6d7da0ad7b6: Waiting
371e3eac71b2: Verifying Checksum
371e3eac71b2: Download complete
5d20c808ce19: Verifying Checksum
5d20c808ce19: Download complete
52c6641357c0: Verifying Checksum
52c6641357c0: Download complete
0efa87b6cc73: Verifying Checksum
0efa87b6cc73: Download complete
5d20c808ce19: Pull complete
0aca3696fac2: Verifying Checksum
0aca3696fac2: Download complete
b8ef58969775: Verifying Checksum
b8ef58969775: Download complete
266f60c15eeb: Download complete
a6d7da0ad7b6: Verifying Checksum
a6d7da0ad7b6: Download complete
a960b46b4ea8: Verifying Checksum
a960b46b4ea8: Download complete
702596540c25: Verifying Checksum
0aca3696fac2: Pull complete
371e3eac71b2: Pull complete
0efa87b6cc73: Pull complete
52c6641357c0: Pull complete
a960b46b4ea8: Pull complete
b8ef58969775: Pull complete
266f60c15eeb: Pull complete
702596540c25: Pull complete
a6d7da0ad7b6: Pull complete
Digest: sha256:4fef77bcf58e92656c2d4734c1e0e5bb9140eb3aa730a05d83ae51dc33cb0463
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-stylelint:b1017
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-04-15T22:56:00.513334 #1]  INFO -- : Skipping file ./src/players/management/commands/parse_report.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 11
    def parse_spectators(table) -> int | None:
                                ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.529382 #1]  INFO -- : Skipping file ./src/players/management/commands/import_reports.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 24
    options: dict[str, Any] = {}
           ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.568927 #1]  INFO -- : Skipping file src/players/models.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 20
    return f"{self.name} {self.team.short_name}"
                                               ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.605770 #1]  INFO -- : Skipping file ./src/hbscorez/settings.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 4
    ROOT_DIR: Path = Path.cwd()
            ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.618515 #1]  INFO -- : Skipping file ./src/leagues/management/commands/import_leagues.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 90
    def scrape_district_season(district: District, season: Season, options):
                                       ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.666082 #1]  INFO -- : Skipping file src/leagues/models.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 19
    return f"{self.start_year}/{self.start_year + 1}"
                                                    ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.689667 #1]  INFO -- : Skipping file src/sports_halls/urls.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 3
    urlpatterns: list = []
               ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.699743 #1]  INFO -- : Skipping file src/sports_halls/models.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 15
    return f"{self.number} {self.name}"
                                      ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.740268 #1]  INFO -- : Skipping file src/users/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 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 57
    raise ValidationError("Mannschaft konnte nicht gefunden werden.") from exc
                                                                         ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.751861 #1]  INFO -- : Skipping file ./src/base/templatetags/scores_extras.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
    def team_outcome_badge(outcome: TeamOutcome):
                                  ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.763050 #1]  INFO -- : Skipping file ./src/base/middleware/env.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 4
    def _ensure_env(name: str, default: models.Value, force: bool = False) -> models.Env:
                        ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.778477 #1]  INFO -- : Skipping file ./src/base/management/commands/correct_data.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 51
    player_number: int, goals: int = 0, penalty_tries: int = 0, penalty_goals: int = 0, **kwargs
                 ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.801666 #1]  INFO -- : Skipping file src/base/logic.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 19
    def add_ranking_place(items: list, field: str):
                               ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.807433 #1]  INFO -- : Skipping file src/base/captcha.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 12
    def encode_captcha_image_base64(captcha: str) -> str:
                                           ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.812990 #1]  INFO -- : Skipping file src/base/http.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
    def get_text(url) -> str:
                      ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.840930 #1]  INFO -- : Skipping file src/base/models.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 15
    def set_value(self, value: Value):
                             ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.848814 #1]  INFO -- : Skipping file src/base/parsing.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 16
    def html_dom(html_text: str) -> _Element:
                          ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.867843 #1]  INFO -- : Skipping file ./src/districts/management/commands/import_districts.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 50
    def scrape_districs(association: Association, options):
                                   ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.908310 #1]  INFO -- : Skipping file src/districts/models.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 16
    return f"{self.bhv_id} {self.name}"
                                      ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.919870 #1]  INFO -- : Skipping file src/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 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
    ) from exc
         ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.920456 #1]  INFO -- : Skipping file src/teams/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 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 79
    cal.add("X-WR-CALNAME", f"Spielplan {team.league.abbreviation} {team.short_name}")
                                                                                    ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.953956 #1]  INFO -- : Skipping file src/teams/models.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 25
    return f"{self.bhv_id} {self.short_name}"
                                            ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:00.991732 #1]  INFO -- : Skipping file ./src/games/management/commands/import_games.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 18
    options: dict[str, Any] = {}
           ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:01.024612 #1]  INFO -- : Skipping file src/games/urls.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 3
    urlpatterns: list = []
               ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:01.025925 #1]  INFO -- : Skipping file src/games/models.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 56
    return f"{self.number} {self.league} {self.home_team.short_name} vs. {self.guest_team.short_name}"
                                                                                                     ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:01.037414 #1]  INFO -- : Skipping file ./src/associations/management/commands/import_associations.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
    def scrape_association(url: str, options):
                              ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:01.080809 #1]  INFO -- : Skipping file src/associations/models.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 13
    return f"{self.bhv_id} {self.abbreviation}"
                                              ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:01.092086 #1]  INFO -- : Skipping file ./src/clubs/management/commands/import_clubs.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 18
    options: dict[str, Any] = {}
           ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:01.103158 #1]  INFO -- : Skipping file src/clubs/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 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 12
    team: Team
        ^
SyntaxError: invalid syntax


I, [2024-04-15T22:56:01.130624 #1]  INFO -- : Skipping file src/clubs/models.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
    return f"{self.bhv_id} {self.name}"
                                      ^
SyntaxError: invalid syntax
7
bandit
bandit engine documentation
View output
[main]	INFO	profile include tests: None
[main]	INFO	profile exclude tests: None
[main]	INFO	cli include tests: None
[main]	INFO	cli exclude tests: None
100 [0.. 50.. ]
8
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
9
fixme
fixme engine documentation
10
git-legal
git-legal 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
12
pep8
pep8 engine documentation
View output
.github/ src/players/management/ src/players/views.py src/players/jinja2/ src/players/apps.py src/players/admin.py src/players/__init__.py src/players/urls.py src/players/models.py src/hbscorez/ src/leagues/management/ src/leagues/views.py src/leagues/jinja2/ src/leagues/apps.py src/leagues/admin.py src/leagues/__init__.py src/leagues/urls.py src/leagues/models.py src/sports_halls/apps.py src/sports_halls/admin.py src/sports_halls/__init__.py src/sports_halls/urls.py src/sports_halls/models.py src/users/views.py src/users/templates/ src/users/static/ src/users/apps.py src/users/__init__.py src/users/urls.py src/users/forms.py src/base/templatetags/ src/base/middleware/ src/base/management/ src/base/context_processors.py src/base/views.py src/base/templates/ src/base/logic.py src/base/captcha.py src/base/jinja2/ src/base/http.py src/base/apps.py src/base/admin.py src/base/__init__.py src/base/urls.py src/base/models.py src/base/parsing.py src/base/forms.py src/districts/management/ src/districts/views.py src/districts/jinja2/ src/districts/apps.py src/districts/admin.py src/districts/__init__.py src/districts/urls.py src/districts/models.py src/manage.py src/teams/views.py src/teams/jinja2/ src/teams/apps.py src/teams/admin.py src/teams/__init__.py src/teams/urls.py src/teams/models.py src/api/ src/games/management/ src/games/views.py src/games/apps.py src/games/admin.py src/games/__init__.py src/games/urls.py src/games/models.py src/associations/management/ src/associations/views.py src/associations/jinja2/ src/associations/apps.py src/associations/admin.py src/associations/__init__.py src/associations/urls.py src/associations/models.py src/clubs/management/ src/clubs/views.py src/clubs/jinja2/ src/clubs/apps.py src/clubs/admin.py src/clubs/__init__.py src/clubs/urls.py src/clubs/models.py
13
radon
radon engine documentation
View output
Running radon3...
14
shellcheck
shellcheck engine documentation
15
sonar-python
sonar-python engine documentation
View output
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: 167 files indexed
ERROR: Unable to parse file: /code/src/players/management/commands/parse_report.py
ERROR: Parse error at line 12 column 9:

    6: from teams.models import Team
    7: 
    8: LOGGER = logging.getLogger("hbscorez")
    9: 
   10: 
   11: def parse_spectators(table) -> int | None:
  -->      specs: str = table["data"][4][2]["text"]
   13:     if specs == "k.A.":
   14:         return None
   15: 
   16:     try:

ERROR: Unable to parse file: /code/src/players/management/commands/import_reports.py
ERROR: Parse error at line 24 column 11:

   17: .commands import parse_report
   18: from players.models import ReportsBlacklist
   19: 
   20: LOGGER = logging.getLogger("hbscorez")
   21: 
   22: 
   23: class Command(BaseCommand):
  -->      options: dict[str, Any] = {}
   25: 
   26:     def add_arguments(self, parser):
   27:         add_default_arguments(parser)
   28:         parser.add_argument(

ERROR: Unable to parse file: /code/src/hbscorez/settings.py
ERROR: Parse error at line 4 column 8:

    1: import os
    2: from pathlib import Path
    3: 
  -->  ROOT_DIR: Path = Path.cwd()
    5: 
    6: SECRET_KEY = " "        
    7: 
    8: DEBUG = True
    9: 
   10: INSTALLED_APPS = [
   11:     "django.contrib.admin",
   12:     "django.contrib.auth",
   13:     "django.contrib.contenttypes",
   14:     "django.contrib.sessions",
   15:     "django.contrib.messages",

ERROR: Unable to parse file: /code/src/sports_halls/urls.py
ERROR: Parse error at line 3 column 11:

    1: app_name = "sports-halls"
    2: 
  -->  urlpatterns: list = []
    4: EOF

ERROR: Unable to parse file: /code/src/base/logic.py
ERROR: Parse error at line 90 column 12:

   86: != game.report_number:
   87:         game.score_set.all().delete()
   88:         LOGGER.info("DELETED Game Scores: %s", game)
   89: 
  -->      defaults: dict[str, Any | None] = {
   91:         "home_goals": home_goals,
   92:         "guest_goals": guest_goals,
   93:         "report_number": report_number,
   94:         "opening_whistle": opening_whistle,
   95:         "sports_hall": sports_hall

ERROR: Unable to parse file: /code/src/base/parsing.py
ERROR: Parse error at line 86 column 12:

   80: ]
   81:     paragraphs = cast(
   82:         list[html.HtmlMixin],
   83:         dom.xpath('//table[@class="scoretable"]/following::div[following::table[@class="gametable"]]'),
   84:     )
   85:     for paragraph in paragraphs:
  -->          text: str = cast(str, paragraph.text_content())
   87:         matches = re.match(r"(?:Der|Die) (.*) hat.* ([0123]\d\.[012]\d\.\d{2,4}).* zurückgezogen.*", text)
   88:         if matches:
   89:             

ERROR: Unable to parse file: /code/src/teams/models.py
ERROR: Parse error at line 68 column 16:

   65: staticmethod
   66:     def find_matching_short_name(name: str, short_names: list[str]) -> str:
   67:         counter = Counter(short_names)
  -->          by_count: list[tuple[str, int]] = counter.most_common()
   69:         max_count: int = by_count[0][1]
   70:         most_commons

ERROR: Unable to parse file: /code/src/games/management/commands/import_games.py
ERROR: Parse error at line 18 column 11:

   11: import add_default_arguments
   12: from leagues.models import League, Season
   13: 
   14: LOGGER = logging.getLogger("hbscorez")
   15: 
   16: 
   17: class Command(BaseCommand):
  -->      options: dict[str, Any] = {}
   19: 
   20:     def add_arguments(self, parser):
   21:         add_default_arguments(parser)
   22:         parser.add_argument(

ERROR: Unable to parse file: /code/src/games/urls.py
ERROR: Parse error at line 3 column 11:

    1: app_name = "games"
    2: 
  -->  urlpatterns: list = []
    4: EOF

ERROR: Unable to parse file: /code/src/games/models.py
ERROR: Parse error at line 121 column 18:

  118: self) -> GameOutcome:
  119:         if self.home_goals is None and self.guest_goals is None:
  120:             return GameOutcome.OPEN
  -->          home_goals: int = Maybe.from_optional(self.home_goals).unwrap()
  122:         guest_goals: int = Maybe.from_optional(self.guest_goals).unwrap

ERROR: Unable to parse file: /code/src/clubs/management/commands/import_clubs.py
ERROR: Parse error at line 18 column 11:

   11: import District
   12: from teams.models import Club, Team
   13: 
   14: LOGGER = logging.getLogger("hbscorez")
   15: 
   16: 
   17: class Command(BaseCommand):
  -->      options: dict[str, Any] = {}
   19: 
   20:     def add_arguments(self, parser):
   21:         parser.add_argument(
   22:             "--associations", "-a", nargs

ERROR: Unable to parse file: /code/src/clubs/views.py
ERROR: Parse error at line 12 column 8:

    6: 
    7: 
    8: 
    9: def detail(request, bhv_id):
   10:     club = get_object_or_404(Club, bhv_id=bhv_id)
   11:     teams_by_season = defaultdict(list)
  -->      team: Team
   13:     for team in club.team_set.order_by("-league__season__start_year", "name", "league__abbreviation"):
   14:         teams_by_season[team.league.season.start_year

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.435s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------
16
stylelint
stylelint engine documentation
View output
•• Timing: .engineConfig: 0.017s
Error: No configuration provided. Make sure you have added a config file with rules enabled.
See our documentation at https://docs.codeclimate.com/docs/stylelint for more information.