12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-06T15:19:51.984121 #1] INFO -- : Skipping file ./django_mock_queries/mocks.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 476
f"{self.cls._meta.object_name} object can't be deleted because "
^
SyntaxError: invalid syntax
I, [2024-11-06T15:19:52.068630 #1] INFO -- : Skipping file ./django_mock_queries/query.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
class MockSet(MagicMock, metaclass=MockSetMeta):
^
SyntaxError: invalid syntax
|