Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double Line Comment in Run Directive leads to InvalidPython #196

Open
gordonkoehn opened this issue Jul 20, 2023 · 1 comment
Open

Double Line Comment in Run Directive leads to InvalidPython #196

gordonkoehn opened this issue Jul 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gordonkoehn
Copy link

It appears two single-line comments at the start of the run directive lead to a parsing error Invalid Python in the line following after.

The rule runs fine. The error message disappears when any of the two comment lines are deleted.

The error message is very odd as it doesn't even show a line number and file. Yet, I am sure the error originates here.

My Rule

My Rule

The error message

The Error

@mbhall88
Copy link
Member

Yes you're probably correct with the source of the error. This response #197 (comment) also applies here.

@mbhall88 mbhall88 added the bug Something isn't working label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants