12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-08-22T05:35:26.448561 #1] INFO -- : Skipping file ./new_dale_chall_readability/formulas.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
pct_unfamiliar_words: float, avg_sentence_length: float
^
SyntaxError: invalid syntax
I, [2024-08-22T05:35:26.459739 #1] INFO -- : Skipping file ./new_dale_chall_readability/__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 13
def cloze_score(text: str) -> float:
^
SyntaxError: invalid syntax
I, [2024-08-22T05:35:26.471370 #1] INFO -- : Skipping file ./new_dale_chall_readability/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 6
def pct_unfamiliar_words(text: str) -> float:
^
SyntaxError: invalid syntax
|