-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
ref: Fix ruff rules in preview mode #4039
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
8a72c66
to
9d0970a
Compare
#! This part here is clunky but we need it like this for | ||
#! backwards compatibility. We can change how prompt component | ||
#! works and then update this later | ||
# ! This part here is clunky but we need it like this for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the comment syntax #!
used by something ? (conflicts with shebang btw) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really. I use https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments and that makes it pop a bit more but not necessary. It is just to make sure people pay attention to certain comments more than others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it still highlight if you have a space before the !
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should work and is recommended to have the space: aaron-bond/better-comments#8 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go for it. Thanks for the heads up!
05d4bf8
to
16de7e1
Compare
Added support for |
16de7e1
to
7c41224
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
7c41224
to
11fb7c8
Compare
11fb7c8
to
7403f2b
Compare
Fix some ruff rules from preview mode
Fix ruff rules in preview mode.
Note: we don't use preview mode in CI (for good reason)