Skip to content

Could not process some files due to syntax errors #3854

@Cyber-Syntax

Description

@Cyber-Syntax

I tried to check for syntax error via provided command for test_cache.py and never had any errors. I already use
analyzing tools like ruff for detecting syntax errors strictly, and it works as expected most of the time, but to make sure about this, I reinstalled pylint for testing and seems like that's also not detect any syntax error. To make sure before opening an issue, I also sent all code to chatGPT, deepseek etc. for making sure there is no syntax error and those are also not found anything.

I used the default settings for CodeQL. I use Python 3.12+ features.

Error:

A parse error occurred while processing /home/runner/work/my-unicorn/my-unicorn/tests/cli/commands/test_cache.py, and as a result this file could not be analyzed. Check the syntax of the file using the python -m py_compile command and correct any invalid syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions