stvnksslr/dataslate-parser

View on GitHub
chore: updating release workflows + cleaning up deploy pipeline + dockerfile updates #226
Steven Kessler authored 2d3f1b73
complete00:00:36
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
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
3bbf7ff90c63: Waiting
963a4e0e1415: Waiting
ea041886215a: Waiting
74d262bd6915: Waiting
124b11ffd9dc: Verifying Checksum
124b11ffd9dc: Download complete
00c69949e211: Verifying Checksum
00c69949e211: Download complete
a0e0ef996968: Download complete
ea041886215a: Verifying Checksum
ea041886215a: Download complete
a0e0ef996968: Pull complete
963a4e0e1415: Download complete
00c69949e211: Pull complete
3bbf7ff90c63: Verifying Checksum
3bbf7ff90c63: Download complete
124b11ffd9dc: Pull complete
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-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
51b9219e6e44: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
0de813e89c33: Waiting
a9696c7f4cd8: Waiting
4f8d95c214b1: Download complete
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
ab6db1bc80d0: Verifying Checksum
ab6db1bc80d0: Download complete
ab6db1bc80d0: Pull complete
a9696c7f4cd8: Download complete
51b9219e6e44: Download complete
bf17e9a1c113: Pull complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
4f8d95c214b1: Pull complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: 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
2e56add6654f: Waiting
6c87f215a2be: Waiting
c2b31566ca3d: Waiting
21f0a0866768: Download complete
e00d546a75ad: Verifying Checksum
e00d546a75ad: Download complete
cd9d3946aa16: Download complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
e00d546a75ad: Pull complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
21f0a0866768: Pull complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download complete
cd9d3946aa16: Pull 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-sonar-python:b10
b10: Pulling from codeclimate/codeclimate-sonar-python
709515475419: Pulling fs layer
d1c225ed7c34: Pulling fs layer
887f300163b6: Pulling fs layer
a3ed95caeb02: Pulling fs layer
9b412187b352: Pulling fs layer
8fe915fa1948: Pulling fs layer
65145a386a45: Pulling fs layer
a64dfb9c0f27: Pulling fs layer
59a464ab5a51: Pulling fs layer
47413513c002: Pulling fs layer
9f30da6d3676: Pulling fs layer
a3ed95caeb02: Waiting
9b412187b352: Waiting
8fe915fa1948: Waiting
65145a386a45: Waiting
a64dfb9c0f27: Waiting
59a464ab5a51: Waiting
47413513c002: Waiting
9f30da6d3676: Waiting
d1c225ed7c34: Verifying Checksum
d1c225ed7c34: Download complete
709515475419: Verifying Checksum
709515475419: Download complete
709515475419: Pull complete
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
9b412187b352: Verifying Checksum
9b412187b352: Download complete
d1c225ed7c34: Pull complete
65145a386a45: Verifying Checksum
65145a386a45: Download complete
887f300163b6: Verifying Checksum
887f300163b6: Download complete
59a464ab5a51: Verifying Checksum
59a464ab5a51: Download complete
8fe915fa1948: Verifying Checksum
8fe915fa1948: Download complete
47413513c002: Verifying Checksum
47413513c002: Download complete
887f300163b6: Pull complete
a3ed95caeb02: Pull complete
9f30da6d3676: Verifying Checksum
9f30da6d3676: Download complete
9b412187b352: Pull complete
a64dfb9c0f27: Verifying Checksum
a64dfb9c0f27: Download complete
8fe915fa1948: Pull complete
65145a386a45: Pull complete
a64dfb9c0f27: Pull complete
59a464ab5a51: Pull complete
47413513c002: Pull complete
9f30da6d3676: Pull complete
Digest: sha256:7904831e83e5474cba8a95726a691787d74d669d74a8721f114057ebb4a8943d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-sonar-python:b10
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-09-17T04:09:23.188148 #1]  INFO -- : Skipping file ./src/main.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 27
    async def root(request: Request):
        ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.203672 #1]  INFO -- : Skipping file ./src/models/unit_group.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 6
    name: str | None = None
        ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.212160 #1]  INFO -- : Skipping file ./src/models/rules.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 6
    name: str
        ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.214943 #1]  INFO -- : Skipping file ./src/models/killteam_unit.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 5
    movement: str
            ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.223696 #1]  INFO -- : Skipping file ./src/models/armor_facing.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 6
    front: str | None
         ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.226023 #1]  INFO -- : Skipping file ./src/models/w40k_unit.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 7
    name: str
        ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.234802 #1]  INFO -- : Skipping file ./src/models/heresy_unit.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 7
    initiative: str | None = None
              ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.238248 #1]  INFO -- : Skipping file ./src/models/unit.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 5
    name: str
        ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.253996 #1]  INFO -- : Skipping file ./src/utils/test_utils.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 8
    def fetch_and_parse_roster(roster_file: Path):
                                          ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.261730 #1]  INFO -- : Skipping file ./src/utils/logger_manager.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 emit(self, record: logging.LogRecord):
                         ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.273670 #1]  INFO -- : Skipping file ./src/utils/constants.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 5
    KILLTEAM_ID: str = "3b7e-7dab-f79f-2e74"
               ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.284962 #1]  INFO -- : Skipping file ./src/utils/gametype.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 find_gametype_parser(gametype) -> ModuleType | str:
                                       ^
SyntaxError: invalid syntax


I, [2024-09-17T04:09:23.296538 #1]  INFO -- : Skipping file ./src/utils/zip_utils.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 5
    async def check_if_zipped(file):
            ^
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
8
pep8
pep8 engine documentation
View output
.github/ src/ .run/
9
radon
radon engine documentation
View output
Running radon3...
10
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: Invalid character encountered in file '/code/src/static/assets/icon_EL.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/icon_FA.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/kt_title_font.ttf' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/octagon.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/icon_TR.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/icon_LW.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/icon_FT.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/wh40k/warhammer40k.eot' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/wh40k/warhammer40k.woff2' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/wh40k/warhammer40k.ttf' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/wh40k/warhammer40k.woff' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/body_font.otf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/font.ttf' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/title_font.otf' at line 2 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/kt_font.ttf' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/example_output/output_kt.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/example_output/output_kard.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/example_output/arch-daemon-sheet.jpg' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/example_output/output.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/example_output/HorusHeresy_Mission_Compilation.tiff' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/icon_HQ.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/icon_HS.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/icon_DT.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/src/static/assets/icon_FL.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 77 files indexed
ERROR: Unable to parse file: /code/src/models/unit_group.py
ERROR: Parse error at line 6 column 8:

    1: from dataclasses import dataclass
    2: 
    3: 
    4: @dataclass
    5: class UnitGroup:
  -->      name: str | None = None
    7:     list_of_units: list | None = None
    8:     toughness: list | None = None
    9:     armored: list | None = None

ERROR: Unable to parse file: /code/src/models/rules.py
ERROR: Parse error at line 6 column 8:

    1: from dataclasses import dataclass
    2: 
    3: 
    4: @dataclass
    5: class Rules:
  -->      name: str
    7:     description: str
    8: EOF

ERROR: Unable to parse file: /code/src/models/killteam_unit.py
ERROR: Parse error at line 5 column 12:

    1: from src.models.unit import Unit
    2: 
    3: 
    4: class KillteamUnit(Unit):
  -->      movement: str
    6:     apl: str
    7:     ga: str
    8:     df: str
    9:     keywords: list
   10:     psyker_powers: dict | None = None
   11: EOF

ERROR: Unable to parse file: /code/src/models/armor_facing.py
ERROR: Parse error at line 6 column 9:

    1: from dataclasses import dataclass
    2: 
    3: 
    4: @dataclass
    5: class ArmorFacing:
  -->      front: str | None
    7:     side: str | None
    8:     rear: str | None
    9:     hp: str | None
   10: EOF

ERROR: Unable to parse file: /code/src/models/w40k_unit.py
ERROR: Parse error at line 7 column 8:

    1: from pydantic import BaseModel
    2: 
    3: from src.models.unit import Unit
    4: 
    5: 
    6: class W40kSelection(BaseModel):
  -->      name: str
    8: 
    9:     points: str | None = None
   10:     power: str | None = None
   11: 
   12:     units: list
   13: 
   14:     wargear: dict | None = None

ERROR: Unable to parse file: /code/src/models/heresy_unit.py
ERROR: Parse error at line 7 column 14:

    1: 
    2: from src.models.unit import Unit
    3: from src.parsers.heresy.heresy_constants import STAT_BLOCK_TYPES
    4: 
    5: 
    6: class HeresyUnit(Unit):
  -->      initiative: str | None = None
    8:     unit_type: str
    9:     armor_facing: ArmorFacing | None = None
   10:     stat_type: str | None = None
   11:     weapon: dict

ERROR: Unable to parse file: /code/src/models/unit.py
ERROR: Parse error at line 5 column 8:

    1: from pydantic import BaseModel
    2: 
    3: 
    4: class Unit(BaseModel):
  -->      name: str
    6:     wargear: dict
    7:     abilities: dict
    8:     weapon_skill: str | None = None
    9:     ballistic_skill: str | None = None
   10:     strength: str

ERROR: Unable to parse file: /code/src/utils/logger_manager.py
ERROR: Parse error at line 22 column 13:

   17: logger.level(record.levelname).name
   18:         except ValueError:
   19:             level = logging.getLevelName(record.levelno)                                    
   20: 
   21: 
  -->          frame: Optional[FrameType] = logging.currentframe()
   23:         depth = 2
   24:         while frame and frame.f_code.co_filename == logging.__file__:
   25: 

ERROR: Unable to parse file: /code/src/utils/constants.py
ERROR: Parse error at line 5 column 11:

    1: from src.parsers.heresy import heresy
    2: from src.parsers.killteam import killteam
    3: from src.parsers.w40k import w40k
    4: 
  -->  KILLTEAM_ID: str = "3b7e-7dab-f79f-2e74"
    6: 
    7: HORUS_HERESY_ID: str = "28d4-bd2e-4858-ece6"
    8: 
    9: WARHAMMER_40K_ID: str = "28ec-711c-d87f-3aeb"
   10: 
   11: SUPPORTED_PARSERS = {KILLTEAM_ID: killteam, HORUS_HERESY_ID: heresy, WARHAMMER_40K_ID:

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 3.080s
INFO: Final Memory: 9M/417M
INFO: ------------------------------------------------------------------------