12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-10-28T13:05:14.230109 #1] INFO -- : Skipping file ./django_cassandra_engine/models/__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 815
class DjangoCassandraModel(BaseModel, metaclass=DjangoCassandraModelMetaClass):
^
SyntaxError: invalid syntax
I, [2024-10-28T13:05:14.427242 #1] INFO -- : Skipping file ./django_cassandra_engine/base/operations.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
cql_list.append(f"TRUNCATE {table}")
^
SyntaxError: invalid syntax
|