12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-15T01:54:40.863146 #1] INFO -- : Skipping file tasks.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 47
def isort(context, check=False) -> Result:
^
SyntaxError: invalid syntax
I, [2024-11-15T01:54:40.874155 #1] INFO -- : Skipping file ./pytest_resource_path/path_to_resource_factory.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, path_tests: Path = None, path_test_resources: Optional[Path] = None):
^
SyntaxError: invalid syntax
I, [2024-11-15T01:54:40.880815 #1] INFO -- : Skipping file ./pytest_resource_path/absolute_path_factory.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, path_target: Path):
^
SyntaxError: invalid syntax
I, [2024-11-15T01:54:40.884923 #1] INFO -- : Skipping file ./pytest_resource_path/path_factory.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 create_path_as_same_as_file_name(cls, item: Union[MethodType, FunctionType]) -> Path:
^
SyntaxError: invalid syntax
|