12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-21T09:47:07.151333 #1] INFO -- : Skipping file ./gophient/types.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
_client: 'Gopher' = field(repr=False)
^
SyntaxError: invalid syntax
I, [2024-11-21T09:47:07.158349 #1] INFO -- : Skipping file ./gophient/exc.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, got: str, expected: str):
^
SyntaxError: invalid syntax
|
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: 20 files indexed
ERROR: Unable to parse file: /code/gophient/types.py
ERROR: Parse error at line 18 column 11:
10: Union[bytes, bytearray, str]
11: ResponseType = Union[bytes, bytearray]
12:
13:
14: @dataclass
15: class Item:
16: """Item of a server response."""
17:
--> _client: 'Gopher' = field(repr=False)
19: raw_type: str = field(repr=False)
20: """The item type. Possible values are `const.TYPES` keys."""
21: pretty_type: str = field(hash
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.222s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------
|