kedder/openvario-shell

View on GitHub
Bump types-mock from 5.1.0.20240311 to 5.1.0.20240425 #877
dependabot[bot] authored 66613972
complete00:00:20
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
00c69949e211: Verifying Checksum
00c69949e211: Download complete
124b11ffd9dc: Verifying Checksum
124b11ffd9dc: Download complete
a0e0ef996968: Download complete
963a4e0e1415: Download complete
a0e0ef996968: Pull complete
ea041886215a: Verifying Checksum
ea041886215a: Download 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
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-27T03:26:21.441098 #1]  INFO -- : Skipping file ./src/ovshell_xcsoar/ext.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
    def __init__(self, id: str, shell: api.OpenVarioShell):
                         ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.451240 #1]  INFO -- : Skipping file ./src/ovshell_xcsoar/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    def extension(id: str, shell: api.OpenVarioShell) -> api.Extension:
                    ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.453451 #1]  INFO -- : Skipping file ./src/ovshell/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 60
    def startui(ctx: tuple[OpenvarioShellImpl, Optional[str]]) -> None:
                   ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.468928 #1]  INFO -- : Skipping file ./src/ovshell/ui/apps.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 9
    def __init__(self, appinfo: api.AppInfo) -> None:
                              ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.481699 #1]  INFO -- : Skipping file ./src/ovshell/ui/mainmenu.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
    def __init__(self, message: str) -> None:
                              ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.483476 #1]  INFO -- : Skipping file ./src/ovshell/ui/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 10
    title: str
         ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.494435 #1]  INFO -- : Skipping file ./src/ovshell/screen.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
    activity: api.Activity
            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.496059 #1]  INFO -- : Skipping file ./src/ovshell/app.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
    _extensions: list[Extension]
               ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.506867 #1]  INFO -- : Skipping file ./src/ovshell/process.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
    _tasks: set[asyncio.Task]
          ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.508225 #1]  INFO -- : Skipping file ./src/ovshell/widget.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
    def __init__(self, text: str) -> None:
                           ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.519507 #1]  INFO -- : Skipping file ./src/ovshell/api.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 33
    def setdefault(self, key: str, value: JsonType) -> None:
                            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.520313 #1]  INFO -- : Skipping file ./src/ovshell/testing.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
    _app_infos: list[api.AppInfo]
              ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.532463 #1]  INFO -- : Skipping file ./src/ovshell/ovos.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 __init__(self, proc: asyncio.subprocess.Process) -> None:
                           ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.544900 #1]  INFO -- : Skipping file ./src/ovshell/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 11
    _settings: dict[str, Optional[api.JsonType]]
             ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.545165 #1]  INFO -- : Skipping file ./src/ovshell/device.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 parse_nmea(device_id: str, message: bytes) -> api.NMEA:
                            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.557500 #1]  INFO -- : Skipping file ./src/ovshell_connman/dbusiface.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 9
    async def call_get_technologies(self) -> list[tuple[str, dict[str, Any]]]:
            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.558364 #1]  INFO -- : Skipping file ./src/ovshell_connman/model.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 create_service_from_props(path: str, props: dict[str, Any]) -> ConnmanService:
                                      ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.570445 #1]  INFO -- : Skipping file ./src/ovshell_connman/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 19
    _iface: Optional[ConnmanServiceProxyInterface]
          ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.570507 #1]  INFO -- : Skipping file ./src/ovshell_connman/ext.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 __init__(self, id: str, shell: api.OpenVarioShell):
                         ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.583186 #1]  INFO -- : Skipping file ./src/ovshell_connman/indicator.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
    _manager: ConnmanManager
            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.583882 #1]  INFO -- : Skipping file ./src/ovshell_connman/app.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
    def __init__(self, shell: api.OpenVarioShell):
                            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.595698 #1]  INFO -- : Skipping file ./src/ovshell_connman/api.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 33
    path: str
        ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.596349 #1]  INFO -- : Skipping file ./src/ovshell_connman/agentiface.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 __init__(self, impl: ConnmanAgent, bus: AbstractMessageBus) -> None:
                           ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.608076 #1]  INFO -- : Skipping file ./src/ovshell_connman/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    def extension(id: str, shell: OpenVarioShell) -> Extension:
                    ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.608806 #1]  INFO -- : Skipping file ./src/ovshell_connman/agent.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 __init__(self, screen: api.ScreenManager) -> None:
                             ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.620684 #1]  INFO -- : Skipping file ./src/ovshell_fileman/rsync.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 __init__(self, rsync_path: str) -> None:
                                 ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.621330 #1]  INFO -- : Skipping file ./src/ovshell_fileman/backupapp.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 36
    def __init__(self, mountpoint: str):
                                 ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.632906 #1]  INFO -- : Skipping file ./src/ovshell_fileman/ext.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 __init__(self, id: str, shell: api.OpenVarioShell):
                         ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.633600 #1]  INFO -- : Skipping file ./src/ovshell_fileman/api.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
    new: bool = True
       ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.645171 #1]  INFO -- : Skipping file ./src/ovshell_fileman/usbcurtain.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 make_usbstick_watcher(os: api.OpenVarioOS) -> AutomountWatcher:
                                ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.645913 #1]  INFO -- : Skipping file ./src/ovshell_fileman/downloader.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 __init__(self, source_dir: str, mount_dir: str) -> None:
                                 ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.657984 #1]  INFO -- : Skipping file ./src/ovshell_fileman/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    def extension(id: str, shell: ovshell.api.OpenVarioShell) -> ovshell.api.Extension:
                    ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.658056 #1]  INFO -- : Skipping file ./src/ovshell_fileman/downloadapp.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 __init__(self, pb: urwid.ProgressBar) -> None:
                         ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.672874 #1]  INFO -- : Skipping file ./src/ovshell_fileman/mountwatch.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 9
    _mount_handlers: list[Callable[[], None]]
                   ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.672937 #1]  INFO -- : Skipping file ./src/ovshell_fileman/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 1
    def format_size(size: int) -> str:
                        ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.685738 #1]  INFO -- : Skipping file ./src/ovshell_core/opkg.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 9
    name: str
        ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.685793 #1]  INFO -- : Skipping file ./src/ovshell_core/setupapp.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 __init__(self, shell: api.OpenVarioShell, ext_id: str) -> None:
                            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.698401 #1]  INFO -- : Skipping file ./src/ovshell_core/gpstime.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
    acquired: bool = False
            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.698466 #1]  INFO -- : Skipping file ./src/ovshell_core/ext.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 __init__(self, id: str, shell: api.OpenVarioShell):
                         ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.711038 #1]  INFO -- : Skipping file ./src/ovshell_core/serial.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 21
    def __init__(self, path: str) -> None:
                           ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.711110 #1]  INFO -- : Skipping file ./src/ovshell_core/sysinfo.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
    async def get_openvario_version(self) -> Optional[str]:
        ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.723487 #1]  INFO -- : Skipping file ./src/ovshell_core/devindicators.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
    async def show_device_indicators(shell: api.OpenVarioShell) -> None:
            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.723664 #1]  INFO -- : Skipping file ./src/ovshell_core/devsim.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 __init__(self, filename: str) -> None:
                               ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.735982 #1]  INFO -- : Skipping file ./src/ovshell_core/upgradeapp.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 9
    def selectable(self) -> bool:
                         ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.736118 #1]  INFO -- : Skipping file ./src/ovshell_core/rotation.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
    def get_rotations() -> list[tuple[str, str]]:
                        ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.748568 #1]  INFO -- : Skipping file ./src/ovshell_core/__init__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    def extension(id: str, app: api.OpenVarioShell) -> api.Extension:
                    ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.748706 #1]  INFO -- : Skipping file ./src/ovshell_core/aboutapp.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 __init__(self, shell: api.OpenVarioShell) -> None:
                            ^
SyntaxError: invalid syntax


I, [2024-04-27T03:26:21.761163 #1]  INFO -- : Skipping file ./src/ovshell_core/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 15
    def __init__(self, shell: api.OpenVarioShell):
                            ^
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
51 [0.. [node_visitor]	INFO	Unable to find qualified name for module: setup.py
50.. ]
8
pep8
pep8 engine documentation
View output
.github/ scripts/ src/ rootfs-ref/ .circleci/ setup.py screenshots/
9
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/screenshots/demo.gif' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 83 files indexed
ERROR: Unable to parse file: /code/src/ovshell/ui/mainmenu.py
ERROR: Parse error at line 25 column 20:

   19: urwid.Filler(haligned, "middle")
   20: 
   21:         return widget.KeySignals(valigned)
   22: 
   23: 
   24: class MainMenuActivity(api.Activity):
  -->      autostart_app_id: Optional[str]
   26:     autostart_progess: urwid.ProgressBar
   27:     autostart_countdown_task: Optional[asyncio.Task] = None
   28:     autostart_canceller: "AutostartCanceller"
   29: 
   30:     def __init__(

ERROR: Unable to parse file: /code/src/ovshell/ui/settings.py
ERROR: Parse error at line 10 column 9:

    1: abstractmethod
    2: from typing import Optional, Sequence
    3: 
    4: import urwid
    5: 
    6: from ovshell import api, widget
    7: 
    8: 
    9: class StaticChoiceSetting(api.Setting):
  -->      title: str
   11:     value: str
   12:     value_label: str
   13: 
   14:     def __init__(self):
   15:         self._update()
   16: 
   17:     @abstractmethod
   18:     def

ERROR: Unable to parse file: /code/src/ovshell/screen.py
ERROR: Parse error at line 16 column 12:

    8: 
    9: 
   10: from ovshell import api, widget
   11: from ovshell.api import Activity, IndicatorLocation, ScreenManager, UrwidText
   12: 
   13: 
   14: @dataclass
   15: class ActivityContext:
  -->      activity: api.Activity
   17:     widget: urwid.Widget
   18:     palette: dict[str, tuple]
   19:     tasks: list[asyncio.Task]
   20: 
   21: 
   22: 

ERROR: Unable to parse file: /code/src/ovshell/app.py
ERROR: Parse error at line 10 column 15:

    5: ovos, process, settings
    6: from ovshell.api import Extension, ExtensionFactory, OpenVarioShell, ScreenManager
    7: 
    8: 
    9: class ExtensionManagerImpl(api.ExtensionManager):
  -->      _extensions: list[Extension]
   11: 
   12:     def __init__(self):
   13:         self._extensions = []
   14: 
   15:     def load_all(self, shell: OpenVarioShell

ERROR: Unable to parse file: /code/src/ovshell/process.py
ERROR: Parse error at line 6 column 10:

    1: import asyncio
    2: from typing import Coroutine
    3: 
    4: 
    5: class ProcessManagerImpl:
  -->      _tasks: set[asyncio.Task]
    7: 
    8:     def __init__(self) -> None:
    9:         self._tasks = set()
   10: 
   11:     def start

ERROR: Unable to parse file: /code/src/ovshell/api.py
ERROR: Parse error at line 74 column 9:

   66: :
   67:         pass
   68: 
   69:     def close_value_popup(self) -> None:
   70:         pass
   71: 
   72: 
   73: class Setting(Protocol):
  -->      title: str
   75:     value_label: str
   76:     priority: int
   77: 
   78:     def activate(self, activator: SettingActivator) -> None:
   79:         pass
   80: 
   81: 
   82: 

ERROR: Unable to parse file: /code/src/ovshell/testing.py
ERROR: Parse error at line 16 column 14:

    8: 
    9: 
   10: from ovshell import api
   11: 
   12: JT = TypeVar("JT", bound=api.JsonType)
   13: 
   14: 
   15: class AppManagerStub(api.AppManager):
  -->      _app_infos: list[api.AppInfo]
   17: 
   18:     def __init__(self, log: list[str]) -> None:
   19:         self._log =

ERROR: Unable to parse file: /code/src/ovshell/ovos.py
ERROR: Parse error at line 32 column 9:

   27: stderr is not None
   28:         return await self._process.stderr.read()
   29: 
   30: 
   31: class OpenVarioOSImpl(api.OpenVarioOS):
  -->      _dbus: Optional[MessageBus] = None
   33: 
   34:     def __init__(self) -> None:
   35:         self._dbus_connect_lock = asyncio.Lock()
   36: 
   37:     

ERROR: Unable to parse file: /code/src/ovshell/settings.py
ERROR: Parse error at line 11 column 13:

    3: 
    4: 
    5: from ovshell import api
    6: 
    7: JT = TypeVar("JT", bound=api.JsonType)
    8: 
    9: 
   10: class StoredSettingsImpl(api.StoredSettings):
  -->      _settings: dict[str, Optional[api.JsonType]]
   12:     _filename: Optional[str]
   13: 
   14:     def __init__(
   15:         self,
   16:         settings: Optional[dict

ERROR: Unable to parse file: /code/src/ovshell/device.py
ERROR: Parse error at line 63 column 12:

   58: ) -> api.NMEA:
   59:         return await self.read()
   60: 
   61: 
   62: class DeviceManagerImpl(api.DeviceManager):
  -->      _devices: dict[str, api.Device]
   64:     _handlers: dict[str, "asyncio.Task[None]"]
   65:     _queues: set["asyncio.Queue[api.NMEA]"]
   66: 
   67:     def __init__(self

ERROR: Unable to parse file: /code/src/ovshell_connman/manager.py
ERROR: Parse error at line 19 column 10:

   12: ConnmanService
   13: from .api import ConnmanState, ConnmanTechnology
   14: from .dbusiface import ConnmanManagerProxyInterface, ConnmanServiceProxyInterface
   15: from .dbusiface import ConnmanTechnologyProxyInterface
   16: 
   17: 
   18: class ConnmanServiceProxy:
  -->      _iface: Optional[ConnmanServiceProxyInterface]
   20:     _change_handlers: list[weakref.WeakMethod]
   21: 
   22:     def __init__(self, svc: ConnmanService, bus: AbstractMessageBus) ->

ERROR: Unable to parse file: /code/src/ovshell_connman/indicator.py
ERROR: Parse error at line 14 column 12:

    6: api import ConnmanManager, ConnmanNotAvailableException, ConnmanService
    7: from .api import ConnmanServiceState
    8: from .manager import ConnmanManagerImpl
    9: 
   10: INDICATOR_ID = "connman"
   11: 
   12: 
   13: class ConnmanServiceIndicator:
  -->      _manager: ConnmanManager
   15:     _tracked_service: Optional[ConnmanService]
   16: 
   17:     def __init__(self, screen: api.ScreenManager, manager: ConnmanManager) -> None:
   18: 

ERROR: Unable to parse file: /code/src/ovshell_connman/app.py
ERROR: Parse error at line 46 column 14:

   41: .shell, manager)
   42:         self.shell.screen.push_activity(act)
   43: 
   44: 
   45: class ConnmanManagerActivity(api.Activity):
  -->      _svc_waits: dict[str, widget.Waiting]
   47: 
   48:     _techs_grid: Optional[urwid.GridFlow] = None
   49: 
   50:     def __init__(self, shell: api.

ERROR: Unable to parse file: /code/src/ovshell_connman/api.py
ERROR: Parse error at line 33 column 8:

   24: ASSOCIATION = "association"
   25:     CONFIGURATION = "configuration"
   26:     READY = "ready"
   27:     DISCONNECT = "disconnect"
   28:     ONLINE = "online"
   29: 
   30: 
   31: @dataclass
   32: class ConnmanTechnology:
  -->      path: str
   34:     name: str
   35:     type: str
   36:     connected: bool
   37:     powered: bool
   38: 
   39: 
   40: @dataclass
   41: class ConnmanService:
   42:     path:

ERROR: Unable to parse file: /code/src/ovshell_connman/agent.py
ERROR: Parse error at line 41 column 11:

   34: return result
   35: 
   36:     def cancel(self) -> None:
   37:         pass
   38: 
   39: 
   40: class ConnmanInputActivity(api.Activity):
  -->      content: dict[str, Any]
   42: 
   43:     def __init__(
   44:         self,
   45:         screen: api.ScreenManager,
   46:         service: ConnmanService,
   47:         fields: dict[str, dict

ERROR: Unable to parse file: /code/src/ovshell_fileman/backupapp.py
ERROR: Parse error at line 203 column 14:

  197: ("pack", None)))
  198: 
  199:         self.restoredirs.contents = restoredir_contents
  200: 
  201: 
  202: class RsyncProgressActivity(api.Activity):
  -->      rsync_task: Optional["asyncio.Task[int]"] = None
  204: 
  205:     msg_title: str
  206:     msg_description: str
  207:     msg_sync_completed: str
  208:     msg_sync_cancelled: str
  209:     msg_sync_failed: str
  210: 
  211:     def __init__

ERROR: Unable to parse file: /code/src/ovshell_fileman/api.py
ERROR: Parse error at line 10 column 7:

    2: import asdict, dataclass
    3: from typing import Any, AsyncGenerator, Callable, Optional
    4: 
    5: from typing_extensions import Protocol
    6: 
    7: 
    8: @dataclass
    9: class DownloadFilter:
  -->      new: bool = True
   11:     igc: bool = True
   12:     nmea: bool = False
   13: 
   14:     def asdict(self) -> dict[str, Any]

ERROR: Unable to parse file: /code/src/ovshell_fileman/downloadapp.py
ERROR: Parse error at line 48 column 19:

   43: , mountwatcher, downloader)
   44:         self.shell.screen.push_activity(act)
   45: 
   46: 
   47: class LogDownloaderActivity(api.Activity):
  -->      _dl_in_progress: dict[str, urwid.WidgetPlaceholder]
   49:     filter: DownloadFilter
   50: 
   51:     def __init__(
   52:         self,
   53:         shell: api.OpenVarioShell,
   54:         mountwatcher: "AutomountWatcher",
   55:         downloader

ERROR: Unable to parse file: /code/src/ovshell_fileman/mountwatch.py
ERROR: Parse error at line 9 column 19:

    1: import asyncio
    2: import os
    3: from typing import Callable
    4: 
    5: from .api import AutomountWatcher
    6: 
    7: 
    8: class AutomountWatcherImpl(AutomountWatcher):
  -->      _mount_handlers: list[Callable[[], None]]
   10:     _unmount_handlers: list[Callable[[], None]]
   11:     _device_in_handlers: list[Callable

ERROR: Unable to parse file: /code/src/ovshell_core/setupapp.py
ERROR: Parse error at line 31 column 9:

   26: self.shell.screen.push_activity(act)
   27: 
   28: 
   29: class WizardStepWidget(urwid.WidgetWrap):
   30:     signals = ["next"]
  -->      title: str
   32: 
   33:     def next_step(self) -> None:
   34:         self._emit("next")
   35: 
   36:     def make_next_button(self, title: str

ERROR: Unable to parse file: /code/src/ovshell_core/opkg.py
ERROR: Parse error at line 9 column 8:

    1: from abc import abstractmethod
    2: from dataclasses import dataclass
    3: 
    4: from ovshell.api import OpenVarioOS
    5: 
    6: 
    7: @dataclass
    8: class UpgradablePackage:
  -->      name: str
   10:     old_version: str
   11:     new_version: str
   12: 
   13: 
   14: @dataclass
   15: class InstalledPackage:
   16:     name: str
   17:     version: str
   18: 
   19: 
   20: class

ERROR: Unable to parse file: /code/src/ovshell_core/gpstime.py
ERROR: Parse error at line 14 column 12:

    3: datetime
    4: from typing import Optional
    5: 
    6: from ovshell import api
    7: 
    8: TIME_OFF_TOLERANCE = 5           
    9: SETDATE_BINARY = "//bin/date"
   10: CLOCK_POLL_INTERVAL = 1
   11: 
   12: 
   13: class GPSTimeState:
  -->      acquired: bool = False
   15: 
   16: 
   17: async def gps_time_sync(shell: api.OpenVarioShell, gpsstate: GPSTimeState) -> None:
   18:     """Service to set system time from GPS NMEA stream
   19: 
   20:     Only change system time if it differs considerable (say, 5 seconds off) and
   21:     stop synching once we've set time once (until the next restart).
   22: 
   23:     Be cautious, because there might be other services to sync time (e.g. NTP)
   24:     around, and these should be trusted more than this naive sync.
   25:     """
   26:     with shell

ERROR: Unable to parse file: /code/src/ovshell_core/serial.py
ERROR: Parse error at line 72 column 11:

   67: 
   68:         self._writer.write(data)
   69: 
   70: 
   71: async def maintain_serial_devices(shell: api.OpenVarioShell) -> NoReturn:
  -->      os_devs: set[str]
   73:     opening = {}
   74:     builtins = [shell.os.path(dev) for dev in BUILTIN_DEVICES]
   75:     while True

ERROR: Unable to parse file: /code/src/ovshell_core/sysinfo.py
ERROR: Parse error at line 31 column 19:

   25: abstractmethod
   26:     async def get_hostname(self) -> Optional[str]:
   27:         """Return hostname"""
   28: 
   29: 
   30: class SystemInfoImpl(SystemInfo):
  -->      _installed_pkgs: Optional[dict[str, str]] = None
   32: 
   33:     def __init__(self, ovos: api.OpenVarioOS, opkgtools: OpkgTools) ->

ERROR: Unable to parse file: /code/src/ovshell_core/devindicators.py
ERROR: Parse error at line 9 column 14:

    1: import asyncio
    2: 
    3: from ovshell import api
    4: 
    5: DEVICE_POLL_INTERVAL = 1
    6: 
    7: 
    8: async def show_device_indicators(shell: api.OpenVarioShell) -> None:
  -->      indicators: set[str] = set()
   10:     screen = shell.screen
   11: 
   12:     while True:
   13:         devs = shell.devices.enumerate()

ERROR: Unable to parse file: /code/src/ovshell_core/upgradeapp.py
ERROR: Parse error at line 32 column 25:

   27: .shell, opkg_tools)
   28:         self.shell.screen.push_activity(act)
   29: 
   30: 
   31: class CheckForUpdatesActivity(api.Activity):
  -->      check_for_updates_wdg: "CheckForUpdatesWidget"
   33:     select_pkg_wdg: "PackageSelectionWidget"
   34: 
   35:     def __init__(self, shell: api.OpenVarioShell, opkg_tools: OpkgTools) -> None:
   36:         self.

ERROR: Unable to parse file: /code/src/ovshell_core/aboutapp.py
ERROR: Parse error at line 28 column 12:

   23: (self.shell)
   24:         self.shell.screen.push_activity(act)
   25: 
   26: 
   27: class AboutActivity(api.Activity):
  -->      sys_info: SystemInfo
   29: 
   30:     def __init__(self, shell: api.OpenVarioShell) -> None:
   31:         self.shell = shell
   32:         self.sys_info =

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.664s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------